diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-04-25 19:14:33 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-04-25 19:14:33 +0200 |
commit | 24369d217578bfc8140d0617169b6ad527e61e78 (patch) | |
tree | 86eb2f14ed6faf1764fe4aa585bf9aedda6a8fec /storage/connect/tabdos.h | |
parent | e9bb12acdb003f3335a547aeec0c3121b282e5b8 (diff) | |
download | mariadb-git-24369d217578bfc8140d0617169b6ad527e61e78.tar.gz |
- Check in Indexable, create and check_if_supported_inplace_alter for not indexable
tables when they are Multiple or Compressed.
modified:
storage/connect/ha_connect.cc
storage/connect/tabdos.h
Diffstat (limited to 'storage/connect/tabdos.h')
-rw-r--r-- | storage/connect/tabdos.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/connect/tabdos.h b/storage/connect/tabdos.h index 5ea7847d2c9..d6cbc8f8d92 100644 --- a/storage/connect/tabdos.h +++ b/storage/connect/tabdos.h @@ -49,7 +49,8 @@ class DllExport DOSDEF : public TABDEF { /* Logical table description */ int GetEnding(void) {return Ending;} // Methods - virtual int Indexable(void) {return (Compressed != 1) ? 1 : 0;} + virtual int Indexable(void) + {return (!Multiple && Compressed != 1) ? 1 : 0;} virtual bool DeleteIndexFile(PGLOBAL g, PIXDEF pxdf); virtual bool DefineAM(PGLOBAL g, LPCSTR am, int poff); virtual PTDB GetTable(PGLOBAL g, MODE mode); |