Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

mysql-connector-c++-8.0.26-src compiler error (no replies)

$
0
0
mysql-connector-c++-8.0.26-src/jdbc/driver/mysql_connection.cpp:305:31: error: ‘MYSQL_OPT_LOAD_DATA_LOCAL_DIR’ was not declared in this scope
{OPT_LOAD_DATA_LOCAL_DIR, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, false}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/matrixai/quycTest/src/mysql-connector-c++-8.0.26-src/jdbc/driver/mysql_connection.cpp:305:31: note: suggested alternative: ‘OPT_LOAD_DATA_LOCAL_DIR’
{OPT_LOAD_DATA_LOCAL_DIR, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, false}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPT_LOAD_DATA_LOCAL_DIR
/home/matrixai/quycTest/src/mysql-connector-c++-8.0.26-src/jdbc/driver/mysql_connection.cpp: In member function ‘virtual sql::Connection* sql::mysql::MySQL_Connection::setClientOption(const sql::SQLString&, const void*)’:
/home/matrixai/quycTest/src/mysql-connector-c++-8.0.26-src/jdbc/driver/mysql_connection.cpp:1639:20: error: ‘MYSQL_OPT_LOAD_DATA_LOCAL_DIR’ was not declared in this scope
proxy->options(MYSQL_OPT_LOAD_DATA_LOCAL_DIR, optionValue);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/matrixai/quycTest/src/mysql-connector-c++-8.0.26-src/jdbc/driver/mysql_connection.cpp:1639:20: note: suggested alternative: ‘OPT_LOAD_DATA_LOCAL_DIR’
proxy->options(MYSQL_OPT_LOAD_DATA_LOCAL_DIR, optionValue);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPT_LOAD_DATA_LOCAL_DIR
jdbc/driver/CMakeFiles/jdbc.dir/build.make:107: recipe for target 'jdbc/driver/CMakeFiles/jdbc.dir/mysql_connection.cpp.o' failed


mysql version:mysql Ver 14.14 Distrib 5.7.34, for Linux (aarch64) using EditLine wrapper

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>