summaryrefslogtreecommitdiff
path: root/storage/connect/global.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-04-09 23:14:45 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-04-09 23:14:45 +0200
commit6be6b4ab762bedbe08896252fe4a97d2aee2b0f9 (patch)
treee6bbf05e564d041277d6d2c8ba5c8d5d46646716 /storage/connect/global.h
parentb3b02104675e68e5a016cbbb2a6620585424672c (diff)
downloadmariadb-git-6be6b4ab762bedbe08896252fe4a97d2aee2b0f9.tar.gz
- All the processing of creating, dropping, modifying indexes was redesigned.
The code was a legacy from the first versions of the XDB engine dating 2004 and was not working anymore with recent versions of MySQL/MariaDB. A patch in create had been added but is was unsatisfying, recreating all indexes on any alter statement and sometimes doing nothing when it should have. This is a major update to be tested for stability. It was in most important cases et all current tests pass with this new version modified: storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc storage/connect/plugutil.c storage/connect/tabdos.cpp storage/connect/user_connect.cc storage/connect/user_connect.h storage/connect/xindex.h
Diffstat (limited to 'storage/connect/global.h')
-rw-r--r--storage/connect/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/global.h b/storage/connect/global.h
index f6296862738..ae50e5ac160 100644
--- a/storage/connect/global.h
+++ b/storage/connect/global.h
@@ -220,6 +220,7 @@ typedef struct _global { /* Global structure */
char Message[MAX_STR];
short Trace;
int Createas; /* To pass info to created table */
+ void *Xchk; /* indexes in create/alter */
int jump_level;
jmp_buf jumper[MAX_JUMP + 2];
} GLOBAL;