Bug #74563 Wrong error on multiple table deletions

Submitted: 25 Oct 2014 14:07 Modified: 27 Oct 2014 8:12
Reporter: Douglas Boffey Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:5.6.21 OS:Windows
Assigned to: CPU Architecture:Any

[25 Oct 2014 14:07] Douglas Boffey
Description:
Assuming that, for example, the tables foo, bar and baz don’t exist, the instruction

DROP TABLE foo, bar, baz;

generates the error (assuming the current database is mydb)

ERROR 1051 (42S02): Unknown table 'mydb.foo,mydb.bar,mydb.baz'

This should surely say something like

Unknown tables 'mydb.foo', 'mydb.bar' and 'mydb.baz'

How to repeat:
Type in a DROP TABLE instruction with multiple tables which don’t exist.

Suggested fix:
Change the error report when multiple tables cannot be dropped.
[27 Oct 2014 8:12] MySQL Verification Team
Hello Douglas Boffey,

Thank you for the report and test case.

Thanks,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.