---------- Forwarded message ----------
From: Ido Perlmuter <[email protected]>
Date: Wed, Oct 7, 2009 at 6:40 PM
Subject: Simple query makes SQL::Abstract puke
To: [email protected]


Hi.

For some reason, the following query has been constantly causing an
SQL::Abstract error message.

Query: $c->model('DB::Stuff')->single({ stage_id => $stage->id, num => 0,
foreign_id => $foreign->id, type => 0 });

Error: "can't quote an empty label".

This happens inside SQL::Abstract's _quote subroutine, which, for some
reason, gets an undefined label for quoting, which is weird, 'cause the
\%where hashref I'm giving the single method has nothing wrong with it. Or
does it?

Any help appreciated,
Ido.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to