mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Optimizations
mysql-test/r/create.result: Changed ERROR -> NOTE (for enum/set) sql/lock.cc: Removed not needed test (table_list->db is always set) sql/sql_repl.cc: Removed not needed test sql/sql_table.cc: ERROR -> NOTE Removed not needed test strings/strtod.c: Portabilty fix. (DBL_MAX *10 is not safe)
This commit is contained in:
parent
ad73b5ac5b
commit
67108bdfa7
5 changed files with 16 additions and 19 deletions
|
|
@ -495,7 +495,7 @@ int lock_table_name(THD *thd, TABLE_LIST *table_list)
|
|||
{
|
||||
TABLE *table;
|
||||
char key[MAX_DBKEY_LENGTH];
|
||||
char *db= table_list->db ? table_list->db : (thd->db ? thd->db : (char*) "");
|
||||
char *db= table_list->db;
|
||||
uint key_length;
|
||||
DBUG_ENTER("lock_table_name");
|
||||
safe_mutex_assert_owner(&LOCK_open);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue