summaryrefslogtreecommitdiff
path: root/storage/connect/plugutil.c
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-03-23 19:47:51 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2013-03-23 19:47:51 +0100
commit6a15b5f870585f4d35316a4851e1bf5264cf1918 (patch)
treeeb5a1cbca76f2e175122466d23de2259ec13cf10 /storage/connect/plugutil.c
parentaa881ad59322568e3fbf93405d32643fd40bed16 (diff)
downloadmariadb-git-6a15b5f870585f4d35316a4851e1bf5264cf1918.tar.gz
- Wrong FLAG values transmitted to created table by the AS SELECT table:
It is not enough to ignore the flags while populating the table. They have to be removed from the definition in pre_create. The issue is to pass the info from the selected table handler to the created table handler. It is done via the only common item between them: the GLOBAL structure. modified: storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/plugutil.c
Diffstat (limited to 'storage/connect/plugutil.c')
-rw-r--r--storage/connect/plugutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/plugutil.c b/storage/connect/plugutil.c
index 2455e73b1d2..0a0d48f67e4 100644
--- a/storage/connect/plugutil.c
+++ b/storage/connect/plugutil.c
@@ -150,6 +150,7 @@ PGLOBAL PlugInit(LPCSTR Language, uint worksize)
} else {
g->Sarea_Size = worksize;
g->Trace = 0;
+ g->Createas = 0;
g->Activityp = g->ActivityStart = NULL;
strcpy(g->Message, "");