Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a unique database manager and integrate it with the queue #496

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

TomasTurina
Copy link
Member

@TomasTurina TomasTurina commented Jan 9, 2025

Related issue
#122

Description

WIP

Tests

  • Compilation without warnings in every supported platform
    • Linux
    • Windows
    • MAC OS X

@TomasTurina TomasTurina self-assigned this Jan 9, 2025
@TomasTurina TomasTurina linked an issue Jan 9, 2025 that may be closed by this pull request
2 tasks
@TomasTurina TomasTurina force-pushed the enhancement/122-unify-sqlite-manager branch from 72f35ac to 2092181 Compare January 10, 2025 13:58
Copy link
Member

@LucioDonda LucioDonda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just leaved some comments with column types doubts

{
queryFields.emplace_back(query.getColumn(i).getName(),
ColumnTypeFromSQLiteType(query.getColumn(i).getType()),
query.getColumn(i).getString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the value is not a string?

Comment on lines +85 to +87
ColumnValue(std::string name, const ColumnType type, std::string value)
: ColumnName(std::move(name), type)
, Value(std::move(value))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type can be TEXT INTEGER or REAL but while constructing ColumValue it only accepts string. Can this be an issue?

@TomasTurina TomasTurina force-pushed the enhancement/122-unify-sqlite-manager branch from ed2e1f6 to ffd8732 Compare January 10, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify the usage of the sqlite manager in the new agent
2 participants