Subject: | There is a type in AuthDBIC.pm |
Date: | Fri, 11 Feb 2011 15:24:55 -0500 |
To: | bug-Catalyst-Helper-AuthDBIC [...] rt.cpan.org |
From: | FOS Solution <fossolution [...] gmail.com> |
Hi there,
I was trying auth_bootstrap.pl --credential http command and I got the
following syntax error:
DBD::SQLite::db do failed: near ")": syntax error at
/usr/local/share/perl5/Catalyst/Helper/AuthDBIC.pm line 92.
Upon examining the module I found that there is a comma in SQL statement on
line 76, which is causing the error: i.e.
my @sql = ("CREATE TABLE role (
role TEXT primary key,
);",
....
should be
my @sql = ("CREATE TABLE role (
role TEXT primary key
);",
I have changed my module, you can update your CPAN so that the bug is not
copied over to future installation
Thank you.
Yours truly,
Ibrahim Amin.