Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 33771
Status: new
Priority: 0/
Queue: SQL-Translator

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: Wishlist
Broken in: 0.09000
Fixed in: (no value)

Subject: Better diagnostics in sqlt-diff
Download (untitled) / with headers
text/plain 831b
I run into two situations where sqlt-diff could give better diagnostics: $ sqlt-diff /tmp/1.sql /tmp/2.sql Unknown argument '/tmp/1.sql' ... This should maybe tell that the parser specification is missing: Cannot parse argument '/tmp/1.sql', parser specification is missing. If one of the SQL files is missing a trailing semicolon after the create table statement, then the output is just: ERROR (line 1): Invalid statement: Was expecting comment, or use, or set, or drop, or create, or alter, or insert, or delimiter, or empty statement Maybe the error message should be extended to note that the semicolon is probably missing. Or even the parser changed to allow missing semicolons (DBI for instance usually does not need the trailing semicolon). Regards, Slaven

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to