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

Michal Čihař michal at cihar.com
Tue Sep 14 08:05:07 CEST 2004


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...

-- 
    Michal Čihař | http://cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20040914/4e2179dd/attachment.sig>


More information about the Developers mailing list