From 483aa9a1789158a3f333cd203c2fcdb5a82e891d Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 1 Mar 2006 11:48:33 +0100 Subject: [PATCH] Removing unnecessary assertion. --- sql/sql_base.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/sql/sql_base.cc b/sql/sql_base.cc index f48df61e9a1..074747cab18 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -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 */ /*