1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

After review fixes

This commit is contained in:
ramil@mysql.com
2005-02-02 15:52:19 +04:00
parent 7f68f132fd
commit 8cf2b82f94
2 changed files with 3 additions and 2 deletions

View File

@@ -1921,7 +1921,8 @@ com_go(String *buffer,char *line __attribute__((unused)))
if (err >= 1)
error= put_error(&mysql);
if (!status.batch && (mysql.server_status & SERVER_STATUS_DB_DROPPED))
if (!error && !status.batch &&
(mysql.server_status & SERVER_STATUS_DB_DROPPED))
get_current_db();
return error; /* New command follows */