Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: MORITZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.60
Fixed in: (no value)



Subject: Unhelpful error message "No indices" from sqlt-diff
With this input file: create table a(b int, c int, KEY (b, c), KEY (c, b)); sqlt-diff dies like this: $ sqlt-diff repro2.sql=MySQL repro2.sql=MySQL No indices at /home/moritz/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/SQL/Translator/Parser/MySQL.pm line 991. ...propagated at /home/moritz/perl5/perlbrew/perls/perl-5.22.1/bin/sqlt-diff line 173. MySQL accepts this code, so sqlt-diff should as well. If not, a better error message (at least mentioning the table name and duplicate keys) would be very useful.