summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-05-11 16:49:23 +0200
committerSergei Golubchik <sergii@pisem.net>2010-05-11 16:49:23 +0200
commita3e8ae12805fb85a0b175b3ccbce36da62f8fdc4 (patch)
treeb72575d93228cb5bf4caa6c25559b3abef8e0d71 /sql/table.cc
parent8792d8a3acd58b9417ee991166d76ba17f517836 (diff)
downloadmariadb-git-a3e8ae12805fb85a0b175b3ccbce36da62f8fdc4.tar.gz
A temporary solution to make CREATE TABLE attributes
to work when a table is partitioned
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 2d73e15d5fb..ac026120964 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -1636,7 +1636,7 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
if (engine_table_options_frm_read(options, options_len, share))
goto free_and_err;
}
- if (parse_engine_table_options(thd, handler_file->ht, share))
+ if (parse_engine_table_options(thd, handler_file->partition_ht(), share))
goto free_and_err;
my_free(buff, MYF(MY_ALLOW_ZERO_PTR));