Part of fix for bug #6081 "Call to deprecated mysql_create_db() function
crashes server" (in 4.0 we fix only connection stalling in case of error, crash itself is fixed in 4.1, the test case for this code is also there). sql/sql_parse.cc: Handling of COM_CREATE_DB, COM_DROP_DB: We should call send_error() if mysql_create_db or mysql_drop_db return error (like we do it for SQL versions of these commands).
Showing
Please register or sign in to comment