[Phpmyadmin-devel] export: about using "--"

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Mon Sep 13 10:29:04 CEST 2004


Hi,

here is IMO a MySQL (at least 4.0.20) bug, but maybe we could put a
workaround in the export logic.

If the last exported table has no data, the export file
ends with those ANSI-style comments:

--
-- Dumping data from table table1
--

and MySQL gives an error on this!

No problem if the file ends with MySQL-style comments.

Marc





More information about the Developers mailing list