Skip to content

Commit ce66d5b

Browse files
committed
SQL: assertion in partition_info::vers_trx_id_to_ts()
Related to #283
1 parent 17bd486 commit ce66d5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/partition_info.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3383,6 +3383,7 @@ static bool has_same_column_order(List<Create_field> *create_list,
33833383

33843384
bool partition_info::vers_trx_id_to_ts(THD* thd, Field* in_trx_id, Field_timestamp& out_ts)
33853385
{
3386+
DBUG_ASSERT(table);
33863387
handlerton *hton= plugin_hton(table->s->db_plugin);
33873388
DBUG_ASSERT(hton);
33883389
ulonglong trx_id= in_trx_id->val_int();

0 commit comments

Comments
 (0)