Poco 1.13.1 POCO_DATA_NO_SQL_PARSER #4452
Replies: 8 comments
-
The platform, I assume, is windows with VS 2019. VS2022 builds fine. Use cmake to generate VS projects, or fix 2019 projects using progen and send a PR
I don't understand the question. |
Beta Was this translation helpful? Give feedback.
-
I'm using VS2022 and when I compile Data the POCO_DATA_NO_SQL_PARSER define is NOT defined by default, so the |
Beta Was this translation helpful? Give feedback.
-
What do you mean you don't have it anywhere? It's right here: https://github.com/pocoproject/poco/tree/poco-1.13.1/Data/src/sql-parser To get help, you need to give sufficient information. Where do your sources come from? |
Beta Was this translation helpful? Give feedback.
-
Ok so I think something wrong with the ZIP file. I get the zip from this link |
Beta Was this translation helpful? Give feedback.
-
Anyway I did not yet figure out what the POCO_DATA_NO_SQL_PARSER change from (for example) Poco::Data::SQLite point of view, does it change anything? it something about performance? |
Beta Was this translation helpful? Give feedback.
-
It parses the sql statement. Can be disabled at runtime; it was needed to be able to deal with transactions (not start a transaction in non-autocommit mode automatically for select-only statements) |
Beta Was this translation helpful? Give feedback.
-
In default Config.h we have
But ActiveRecord do not compile because it does not found
#include "sql-parser/src/SQLParser.h"
I'm going to explicit define POCO_DATA_NO_SQL_PARSER, but what is "sql-parser/src/SQLParser.h" is a system lib?
Beta Was this translation helpful? Give feedback.
All reactions