summaryrefslogtreecommitdiff
path: root/storage/connect/xindex.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/xindex.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/xindex.h')
-rw-r--r--storage/connect/xindex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/xindex.h b/storage/connect/xindex.h
index f2da7a23a02..6a2636d0ca5 100644
--- a/storage/connect/xindex.h
+++ b/storage/connect/xindex.h
@@ -76,6 +76,7 @@ typedef struct index_off {
class DllExport INDEXDEF : public BLOCK { /* Index description block */
friend class PLUGCAT;
friend class DOSDEF;
+ friend class ha_connect;
friend int PlgMakeIndex(PGLOBAL g, PSZ name, PIXDEF pxdf, bool add);
public:
// Constructor