mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-31 15:20:26 +01:00
Only support extracting JSON fields when the SDK supports it (#3717)
* Added preprocessor defined to detect support for JSON * Only support extracting JSON fields when the SDK supports it * Fix version comparison
This commit is contained in:
@@ -1513,6 +1513,7 @@ void SQLExecutor::longText()
|
||||
poco_assert (longTextRes == biography);
|
||||
}
|
||||
|
||||
#ifdef POCO_MYSQL_JSON
|
||||
void SQLExecutor::json()
|
||||
{
|
||||
std::string funct = "json()";
|
||||
@@ -1537,7 +1538,7 @@ void SQLExecutor::json()
|
||||
catch (StatementException& se) { std::cout << se.displayText() << std::endl; fail(funct); }
|
||||
poco_assert(res == biography);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void SQLExecutor::tuples()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user