diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-06-14 09:08:41 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-06-14 18:06:44 +0200 |
commit | 776fc876862ccf6bc77938246bbab2b349d621a9 (patch) | |
tree | b09b94a797e6816a456b4b7a2ccae3d230f7f37f /sql/table.cc | |
parent | 5d6b7f46fb41207455dbed8aa07daefdb0b71451 (diff) | |
download | mariadb-git-776fc876862ccf6bc77938246bbab2b349d621a9.tar.gz |
fix compilation w/o partitioning
followup for d8da920264a
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc index f6a27b1b1b3..4407d631db8 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -2233,7 +2233,9 @@ int TABLE_SHARE::init_from_sql_statement_string(THD *thd, bool write, goto ret; thd->lex->create_info.db_type= hton; +#ifdef WITH_PARTITION_STORAGE_ENGINE thd->work_part_info= 0; // For partitioning +#endif if (tabledef_version.str) thd->lex->create_info.tabledef_version= tabledef_version; |