mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-opt
into mysql.com:/misc/mysql/31752_/51-31752_ client/mysql.cc: Auto merged sql/log.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_db.cc: Auto merged sql/sql_show.cc: Auto merged sql/unireg.cc: Auto merged
This commit is contained in:
@@ -1395,7 +1395,7 @@ static void backup_current_db_name(THD *thd,
|
||||
}
|
||||
else
|
||||
{
|
||||
strmake(saved_db_name->str, thd->db, saved_db_name->length);
|
||||
strmake(saved_db_name->str, thd->db, saved_db_name->length - 1);
|
||||
saved_db_name->length= thd->db_length;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user