Removing unnecessary assertion.
This commit is contained in:
parent
558c41abfb
commit
483aa9a178
@ -2409,7 +2409,6 @@ void abort_locked_tables(THD *thd,const char *db, const char *table_name)
|
||||
|
||||
share is non-NULL
|
||||
The LOCK_open mutex is locked
|
||||
The share->mutex is locked
|
||||
|
||||
POST-CONDITION(S)
|
||||
|
||||
@ -2429,7 +2428,6 @@ void assign_new_table_id(TABLE_SHARE *share)
|
||||
/* Preconditions */
|
||||
DBUG_ASSERT(share != NULL);
|
||||
safe_mutex_assert_owner(&LOCK_open);
|
||||
safe_mutex_assert_owner(&share->mutex);
|
||||
|
||||
ulong tid= ++last_table_id; /* get next id */
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user