Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: marco.prado.bs [...] gmail.com
Cc:
AdminCc:

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



Subject: SQLite Parser unable to parse table columns without a defined type
Date: Mon, 05 Oct 2015 15:17:37 -0300
To: bug-SQL-Translator <bug-SQL-Translator [...] rt.cpan.org>
From: Marco <marco.prado.bs [...] gmail.com>
Download (untitled) / with headers
text/plain 764b
SQLite allows columns that has no type names http://sqlite.org/syntax/column-def.html I created this small test case (attached) to show this problem. And here is the output: sqlite_column_def.t .. 1..1 Unable to parse line 1: 'CREATE TABLE t( no_type DEFAULT 1 );' '' '' '' '' # Looks like your test exited with 255 before it could output anything. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests Test Summary Report ------------------- sqlite_column_def.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=1, Tests=0, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.41 cusr 0.03 csys = 0.47 CPU) Result: FAIL -- Marco Arthur @ (M)arco Creatives
Download sqlite_column_def.t
text/x-perl 240b

Message body is not shown because sender requested not to inline it.



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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.