-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Building DataMySQL fails #3689
Description
Poco 1.12.1
Ubuntu 20.04.4 LTS
CMake 3.16.3
Building DataMySQL fails
Scanning dependencies of target DataMySQL
[ 94%] Building CXX object Data/MySQL/CMakeFiles/DataMySQL.dir/src/Binder.cpp.o
[ 94%] Building CXX object Data/MySQL/CMakeFiles/DataMySQL.dir/src/Connector.cpp.o
[ 94%] Building CXX object Data/MySQL/CMakeFiles/DataMySQL.dir/src/Extractor.cpp.o
/home/poco/poco-1.12.1-all/Data/MySQL/src/Extractor.cpp: In member function ‘bool Poco::Data::MySQL::Extractor::extractJSON(std::size_t)’:
/home/poco/poco-1.12.1-all/Data/MySQL/src/Extractor.cpp:303:21: error: ‘MYSQL_TYPE_JSON’ was not declared in this scope; did you mean ‘MYSQL_TYPE_BLOB’?
303 | row->buffer_type = MYSQL_TYPE_JSON;
| ^~~~~~~~~~~~~~~
| MYSQL_TYPE_BLOB
make[2]: *** [Data/MySQL/CMakeFiles/DataMySQL.dir/build.make:89:
Data/MySQL/CMakeFiles/DataMySQL.dir/src/Extractor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5135: Data/MySQL/CMakeFiles/DataMySQL.dir/all] Error 2
make: *** [Makefile:163: all] Error 2