mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Add a define making ha_connect.cc source unique for all MariaDB version.
#if defined(NEW_MAR) #define stored_in_db stored_in_db() #endif // NEW_MAR) modified: storage/connect/CMakeLists.txt modified: storage/connect/ha_connect.cc - Fix compile failure for some configuration of CONNECT. This by updating the #ifdef's JDBC, MONGO and CMGO_SUPPORT. modified: storage/connect/ha_connect.cc modified: storage/connect/tabjson.cpp modified: storage/connect/tabjson.h - Fix failure of zip.test (restore code wrongly deleted) modified: storage/connect/tabjson.cpp - Make sure thread TBL table structure is correctly initialized. modified: storage/connect/tabtbl.cpp - Add new test case in tbl_thread.test modified: storage/connect/mysql-test/connect/r/tbl_thread.result modified: storage/connect/mysql-test/connect/t/tbl_thread.test - Remake a jar file after Java was updated modified: storage/connect/mysql-test/connect/std_data/Mongo3.jar
This commit is contained in:
@@ -31,11 +31,13 @@
|
||||
#if defined(ZIP_SUPPORT)
|
||||
#include "filamzip.h"
|
||||
#endif // ZIP_SUPPORT
|
||||
#if defined(MONGO_SUPPORT)
|
||||
#if defined(JDBC_SUPPORT)
|
||||
#include "jmgfam.h"
|
||||
#endif // JDBC_SUPPORT
|
||||
#if defined(CMGO_SUPPORT)
|
||||
#include "cmgfam.h"
|
||||
#endif // CMGO_SUPPORT
|
||||
#endif // MONGO_SUPPORT
|
||||
#include "tabmul.h"
|
||||
#include "checklvl.h"
|
||||
@@ -129,8 +131,8 @@ PQRYRES JSONColumns(PGLOBAL g, PCSZ db, PCSZ dsn, PTOS topt, bool info)
|
||||
#endif // ZIP_SUPPORT
|
||||
tdp->Fn = GetStringTableOption(g, topt, "Filename", NULL);
|
||||
|
||||
//if (!(tdp->Database = SetPath(g, db)))
|
||||
// return NULL;
|
||||
if (!(tdp->Database = SetPath(g, db)))
|
||||
return NULL;
|
||||
|
||||
tdp->Objname = GetStringTableOption(g, topt, "Object", NULL);
|
||||
tdp->Base = GetIntegerTableOption(g, topt, "Base", 0) ? 1 : 0;
|
||||
@@ -502,10 +504,10 @@ JSONDEF::JSONDEF(void)
|
||||
Pipe = false;
|
||||
Driver = NULL;
|
||||
Version = 0;
|
||||
#endif // MONGO_SUPPORT
|
||||
#if defined(JDBC_SUPPORT)
|
||||
Wrapname = NULL;
|
||||
#endif // JDBC_SUPPORT
|
||||
#endif // MONGO_SUPPORT
|
||||
} // end of JSONDEF constructor
|
||||
|
||||
/***********************************************************************/
|
||||
|
Reference in New Issue
Block a user