Fatalize warnings within the compiled row parsers
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 19 Feb 2013 20:57:13 +0000 (21:57 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 20 Feb 2013 10:51:24 +0000 (11:51 +0100)
commitbdbd2ae8a0625e196ae820f85427d13629322c96
treee8e962682b1d310e217288d8cd35837c23e80d14
parent52864fbd5c6035f8f3961173ad05c2cc58fe9a34
Fatalize warnings within the compiled row parsers

Encountering an undef value anywhere in this code is a sign of some glaring
omission. Perhaps a nullable column is annotated as is_nullable => 0 or
something similar. When this is the case we need the collapsing to stop
right there, as it is no longer safe to proceed.
lib/DBIx/Class/ResultSource/RowParser.pm
lib/DBIx/Class/ResultSource/RowParser/Util.pm
t/resultset/rowparser_internals.t