diff options
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 9852c71e2b4..9ded59b2ea6 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -3363,7 +3363,7 @@ void select_create::abort() { table->file->extra(HA_EXTRA_NO_IGNORE_DUP_KEY); table->file->extra(HA_EXTRA_WRITE_CANNOT_REPLACE); - handlerton *table_type=table->s->db_type; + handlerton *table_type=table->s->db_type(); if (!table->s->tmp_table) { ulong version= table->s->version; |