summaryrefslogtreecommitdiff
path: root/storage/connect/global.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2017-10-31 14:44:50 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2017-10-31 14:44:50 +0100
commit3db76c99cc573e6e9b8d28f1ca6e1030bc41dfa3 (patch)
tree97a2a4ae30fd18e0d7ef27f1f83f43e44eb0391e /storage/connect/global.h
parent74ffcbc135a24d924a87b530ed293864b135a555 (diff)
downloadmariadb-git-3db76c99cc573e6e9b8d28f1ca6e1030bc41dfa3.tar.gz
- Fix MDEV-13925: Actually this fixes SELECT queries when
the WHERE clause have single quote. modified: storage/connect/ha_connect.cc - Use Windows VirtualAlloc and VirtualFree for the Sarea workspace modified: storage/connect/global.h modified: storage/connect/ha_connect.cc modified: storage/connect/jsonudf.cpp modified: storage/connect/plgdbutl.cpp modified: storage/connect/plugutil.cpp modified: storage/connect/user_connect.cc
Diffstat (limited to 'storage/connect/global.h')
-rw-r--r--storage/connect/global.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/connect/global.h b/storage/connect/global.h
index de7a9fb3c03..e4b00786efa 100644
--- a/storage/connect/global.h
+++ b/storage/connect/global.h
@@ -217,7 +217,8 @@ DllExport int PlugExit(PGLOBAL); // Plug global termination
DllExport LPSTR PlugRemoveType(LPSTR, LPCSTR);
DllExport LPCSTR PlugSetPath(LPSTR to, LPCSTR prefix, LPCSTR name, LPCSTR dir);
DllExport BOOL PlugIsAbsolutePath(LPCSTR path);
-DllExport void *PlugAllocMem(PGLOBAL, uint);
+DllExport bool AllocSarea(PGLOBAL, uint);
+DllExport void FreeSarea(PGLOBAL);
DllExport BOOL PlugSubSet(PGLOBAL, void *, uint);
DllExport void *PlugSubAlloc(PGLOBAL, void *, size_t);
DllExport char *PlugDup(PGLOBAL g, const char *str);