Commit 14315191 authored by unknown's avatar unknown
Browse files

sql_db.cc:

  Bug#19392: Rename Database: Crash if case change
  Additional minor fix, to avoid compiler warnings.


sql/sql_db.cc:
  Bug#19392: Rename Database: Crash if case change
  Additional minor fix, to avoid compiler warnings.
parent 9c686c8a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -134,8 +134,8 @@ void lock_db_delete(const char *name, uint length)
{
  my_dblock_t *opt;
  safe_mutex_assert_owner(&LOCK_lock_db);
  if (opt= (my_dblock_t *)hash_search(&lock_db_cache,
                                      (const byte*) name, length))
  if ((opt= (my_dblock_t *)hash_search(&lock_db_cache,
                                       (const byte*) name, length)))
    hash_delete(&lock_db_cache, (byte*) opt);
}