Subject: | error in SQL::Parser |
Date: | Wed, 21 Oct 2009 15:19:21 +0200 |
To: | bug-SQL-Statement [...] rt.cpan.org |
From: | Filippo Bardelli <filibard [...] gmail.com> |
I've noticed that after an update DBD::CSV was broken with an error
due to the case of the file name.
I've inquiryed and i've seen that the problem comes from SQL::Parser.
I've tested the module with this simple script
_____
use SQL::Parser; # CREATE A PARSER OBJECT
my $parser = SQL::Parser->new();
my $dialect_name = 'CSV' ;
$parser->dialect( $dialect_name );
my $success = $parser->parse('SELECT * FROM foo ');
my $struct = $parser->structure ;
print "tab: $_ \n" foreach @{ $struct->{'table_names'} } ;
Show quoted text
______
result is 'foo' with the last version (1.22) and 'FOO' with version 1.15
my fix has been to uninstall version 1.22 and reinstall the older one.
Thanks in advance
Filippo