• unknown's avatar
    Part of fix for bug #6081 "Call to deprecated mysql_create_db() function · dd126ba1
    unknown authored
    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).
    dd126ba1
sql_parse.cc 112 KB