mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.0
This commit is contained in:
@ -1142,7 +1142,9 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
if (check_access(thd,CREATE_ACL,db,0,1))
|
||||
break;
|
||||
mysql_log.write(thd,command,packet);
|
||||
mysql_create_db(thd,(lower_case_table_names == 2 ? alias : db),0,0);
|
||||
if (mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db),
|
||||
0, 0) < 0)
|
||||
send_error(&thd->net, thd->killed ? ER_SERVER_SHUTDOWN : 0);
|
||||
break;
|
||||
}
|
||||
case COM_DROP_DB: // QQ: To be removed
|
||||
@ -1163,7 +1165,9 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
break;
|
||||
}
|
||||
mysql_log.write(thd,command,db);
|
||||
mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db), 0, 0);
|
||||
if (mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db),
|
||||
0, 0) < 0)
|
||||
send_error(&thd->net, thd->killed ? ER_SERVER_SHUTDOWN : 0);
|
||||
break;
|
||||
}
|
||||
case COM_BINLOG_DUMP:
|
||||
|
Reference in New Issue
Block a user