From 6be6b4ab762bedbe08896252fe4a97d2aee2b0f9 Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Tue, 9 Apr 2013 23:14:45 +0200 Subject: - 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 --- storage/connect/xindex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'storage/connect/xindex.h') 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 -- cgit v1.2.1