diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2017-07-21 16:26:08 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2017-07-21 16:26:08 +0200 |
commit | 6fdd5cda6af80b8cf081656afd7827432640f551 (patch) | |
tree | c0f982dd407be9981527a7c02498509088ec36cb /storage/connect | |
parent | 8476d3052ab903f0a33ff8fbae87f6892d88c59f (diff) | |
download | mariadb-git-6fdd5cda6af80b8cf081656afd7827432640f551.tar.gz |
Fix compile error. Modified user_connect.cc ha_connect.cc
Diffstat (limited to 'storage/connect')
-rw-r--r-- | storage/connect/ha_connect.cc | 2 | ||||
-rw-r--r-- | storage/connect/user_connect.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc index 526e9444b85..1f5aff609c1 100644 --- a/storage/connect/ha_connect.cc +++ b/storage/connect/ha_connect.cc @@ -222,7 +222,9 @@ bool CheckSelf(PGLOBAL g, TABLE_SHARE *s, PCSZ host, PCSZ db, PCSZ tab, PCSZ src, int port); bool ZipLoadFile(PGLOBAL, PCSZ, PCSZ, PCSZ, bool, bool); bool ExactInfo(void); +#if defined(MONGO_SUPPORT) void mongo_init(bool); +#endif // MONGO_SUPPORT USETEMP UseTemp(void); int GetConvSize(void); TYPCONV GetTypeConv(void); diff --git a/storage/connect/user_connect.cc b/storage/connect/user_connect.cc index 26988f06571..94d2c8ad5fd 100644 --- a/storage/connect/user_connect.cc +++ b/storage/connect/user_connect.cc @@ -163,7 +163,7 @@ bool user_connect::CheckCleanup(bool force) if (g->Sarea_Size != worksize) { if (g->Sarea) { #if !defined(DEVELOPMENT) - if (trace) { + if (trace) #endif htrc("CheckCleanup: Free Sarea at %p size=%d\n", g->Sarea, g->Sarea_Size); |