diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-23 19:47:51 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-23 19:47:51 +0100 |
commit | 6a15b5f870585f4d35316a4851e1bf5264cf1918 (patch) | |
tree | eb5a1cbca76f2e175122466d23de2259ec13cf10 /storage/connect/plugutil.c | |
parent | aa881ad59322568e3fbf93405d32643fd40bed16 (diff) | |
download | mariadb-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.c | 1 |
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, ""); |