summaryrefslogtreecommitdiff
path: root/innobase/srv/srv0start.c
diff options
context:
space:
mode:
authorunknown <dlenev@brandersnatch.localdomain>2004-10-17 13:59:46 +0400
committerunknown <dlenev@brandersnatch.localdomain>2004-10-17 13:59:46 +0400
commit07c7aadf444eeea8463eef2d31cfacd129620e8e (patch)
tree5ec1a93fcd42b6ff1479a53ae7cc73d7813ac938 /innobase/srv/srv0start.c
parent221d51ebb1b178061904e68cc2ff40a11da835d1 (diff)
downloadmariadb-git-07c7aadf444eeea8463eef2d31cfacd129620e8e.tar.gz
Fix for bug #6081 "Call to deprecated mysql_create_db() function crashes
server". Altough mysql_create_db()/mysql_drop_db() API calls are deprecated since 4.0, they should not crash server and should not stall connection in case of errors. sql/sql_parse.cc: Handling of COM_CREATE_DB, COM_DROP_DB: mysql_create_db() requires from its second parameter to be non-zero. We also should call send_error() if mysql_create_db or mysql_drop_db return error (like we do it for SQL versions of these commands). tests/client_test.c: Added test for bug #6081 "Execution of deprecated mysql_create_db() crashes server".
Diffstat (limited to 'innobase/srv/srv0start.c')
0 files changed, 0 insertions, 0 deletions