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

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Tue Sep 14 08:09:03 CEST 2004


Michal C(ihar( a écrit:

> Hi
> 
> On Mon 13. 9. 2004 19:26, Marc Delisle wrote:
> 
>>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.
> 
> 
> MySQL itself doesn't have problems with it (using command line), but 
> phpMyAdmin does. So we should fix it somehow...
> 

Which version did you try?

But I tested it with command-line!

Marc





More information about the Developers mailing list