Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.0(EOL), 10.1(EOL)
-
None
Description
/data/src/10.0/storage/connect/ha_connect.cc: In function 'int connect_assisted_discovery(handlerton*, THD*, TABLE_SHARE*, HA_CREATE_INFO*)':
|
/data/src/10.0/storage/connect/ha_connect.cc:5763:38: error: 'tabtyp' was not declared in this scope
|
qrp = JDBCTables(g, shm, tab, tabtyp, mxr, true, sjp);
|
^
|
storage/connect/CMakeFiles/connect.dir/build.make:54: recipe for target 'storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o' failed
|
make[2]: *** [storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o] Error 1
|
make[2]: *** Waiting for unfinished jobs....
|
[ 49%] Building CXX object storage/perfschema/CMakeFiles/perfschema.dir/table_socket_summary_by_instance.cc.o
|
CMakeFiles/Makefile2:4070: recipe for target 'storage/connect/CMakeFiles/connect.dir/all' failed
|
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
|
It used to happen before, back then it was because tabtyp is defined under if defined(ODBC_SUPPORT) , but is used under if defined(JDBC_SUPPORT). I assume the reason is still the same – serg fixed it, but apparently the fix got lost after the latest merge.
It probably needs to be fixed in MariaDB main trees again (for now), but also in Olivier trees, so further merges don't make it resurface.