Bug #69074 Mark COM_CREATE_DB and COM_DROP_DB as removed
Submitted: 25 Apr 2013 22:15 Modified: 26 Apr 2013 17:29
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.6.11 OS:Any
Assigned to: Paul DuBois CPU Architecture:Any

[25 Apr 2013 22:15] Todd Farmer
Description:
The protocol documentation references COM_CREATE_DB and COM_DROP_DB, but does not indicate that they are no longer supported.

http://dev.mysql.com/doc/internals/en/text-protocol.html#com-create-db

These commands are not explicitly defined in the case statement in sql_parse->dispatch_command(), so they fall through to the default where they produce an error:

  default:
    my_message(ER_UNKNOWN_COM_ERROR, ER(ER_UNKNOWN_COM_ERROR), MYF(0));
    break;

How to repeat:
See above.

Suggested fix:
Update documentation.
[26 Apr 2013 17:29] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.