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> |
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
Message body is not shown because sender requested not to inline it.