diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-05-11 16:49:23 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-05-11 16:49:23 +0200 |
commit | a3e8ae12805fb85a0b175b3ccbce36da62f8fdc4 (patch) | |
tree | b72575d93228cb5bf4caa6c25559b3abef8e0d71 /sql/handler.h | |
parent | 8792d8a3acd58b9417ee991166d76ba17f517836 (diff) | |
download | mariadb-git-a3e8ae12805fb85a0b175b3ccbce36da62f8fdc4.tar.gz |
A temporary solution to make CREATE TABLE attributes
to work when a table is partitioned
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 81e0eab141c..4b1954fc34f 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -2230,6 +2230,10 @@ private: virtual int rename_partitions(const char *path) { return HA_ERR_WRONG_COMMAND; } friend class ha_partition; +public: + /* XXX to be removed, see ha_partition::partition_ht() */ + virtual handlerton *partition_ht() const + { return ht; } }; |