1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
This commit is contained in:
Sergei Golubchik
2011-11-03 23:39:53 +01:00
68 changed files with 286 additions and 259 deletions

View File

@ -1660,7 +1660,7 @@ bool mysql_upgrade_db(THD *thd, LEX_STRING *old_db)
/* Lock the old name, the new name will be locked by mysql_create_db().*/
if (lock_schema_name(thd, old_db->str))
DBUG_RETURN(-1);
DBUG_RETURN(1);
/*
Let's remember if we should do "USE newdb" afterwards.