diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-10-17 17:23:59 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-10-17 17:25:14 +0300 |
commit | ce66d5b2a53d76d286e8443807c4ebd7743cc354 (patch) | |
tree | 99635a6c1cff2141378b70f9a487d9f96bb48d6d /sql | |
parent | 17bd486f361a150cb6e4c0320c1fa8e344beb76b (diff) | |
download | mariadb-git-ce66d5b2a53d76d286e8443807c4ebd7743cc354.tar.gz |
SQL: assertion in partition_info::vers_trx_id_to_ts()
Related to #283
Diffstat (limited to 'sql')
-rw-r--r-- | sql/partition_info.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc index af97791ab80..f2e3c12aa4a 100644 --- a/sql/partition_info.cc +++ b/sql/partition_info.cc @@ -3383,6 +3383,7 @@ static bool has_same_column_order(List<Create_field> *create_list, bool partition_info::vers_trx_id_to_ts(THD* thd, Field* in_trx_id, Field_timestamp& out_ts) { + DBUG_ASSERT(table); handlerton *hton= plugin_hton(table->s->db_plugin); DBUG_ASSERT(hton); ulonglong trx_id= in_trx_id->val_int(); |