[Dbix-class] Announcement: DBIx-Class-0.06999_02
Guillermo Roditi
groditi at gmail.com
Sat Jun 10 19:01:06 CEST 2006
Found a Bug!! it breaks some stuff on cat::model::dbic::schema
Line 318, and 299 have the following:
if($DBIx::Class::VERSION < 0.069) {
VERSION has a _2 which makes it text and it gets evaluated into 1 which is
> 0.069!
this has to do with sql_maker_options and stuff i dont understand. but i
know if i take the sql maker options out of it it works fine. if i change
the if() to always evaluate to true then, it connects but the
sql_maker_options dont get set. what this all means??? i have no clue.
error below....
Couldn't instantiate component "Cantella::Model::Cantella",
"DBIx::Class::Schema::connection(): You failed to provide any connection
info at /usr/local/lib/perl5/site_perl/5.8.7/Catalyst/Model/DBIC/Schema.pm
line 316" at /usr/local/lib/perl5/site_perl/5.8.7/Module/Pluggable/Fast.pm
line 86
Compilation failed in require at ./cantella_server.pl line 49.
package Cantella::Model::Cantella;
use strict;
use base 'Catalyst::Model::DBIC::Schema';
__PACKAGE__->config(
schema_class => 'Cantella::Schema',
connect_info => [
'dbi:mysql:database=pk;host=10.0.2.10',
'myuser',
'mysecret',
# { quote_char => '`', name_sep => '.' }, ####THIS
LINE BREAKS ME!
],
);
1;
On 6/10/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
>
> Alan Humphrey wrote:
> > Could someone expand on this:
> >
> > - NoBindVars + Sybase + MSSQL stuff
> >
> > If it does what I think it does then I can throw away some code I've got
> to
> > get around the fact that the FreeTDS library doesn't support bind
> variables.
>
> I think you'll find it *does* do what you think it does. And does it
> automagically for DBD::Sybase in general since TDS' bind var
> implementation
> appears to blow goats anyway.
>
> --
> Matt S Trout Offering custom development, consultancy and
> support
> Technical Director contracts for Catalyst, DBIx::Class and BAST.
> Contact
> Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more
> information
>
> + Help us build a better perl ORM:
> http://dbix-class.shadowcatsystems.co.uk/ +
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive:
> http://www.mail-archive.com/dbix-class@lists.rawmode.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20060610/7c467c93/attachment.htm
More information about the Dbix-class
mailing list