From: Arthur Axel 'fREW' Schmidt Date: Tue, 9 Nov 2010 00:25:27 +0000 (-0600) Subject: Don't quote NULL for debug output X-Git-Tag: v0.08125~73 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6cad253bcdfd6e265fdde937408564030d0f77a3;p=dbsrgits%2FDBIx-Class.git Don't quote NULL for debug output Also require new SQLA with more goodies (and which can take advantage of an unquoted NULL) --- diff --git a/Changes b/Changes index c21bc0b..ae8ef47 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for DBIx::Class + * New Features / Changes + - NULL is now supplied unquoted to all debug-objects, in order to + differentiate between a real NULL and the string 'NULL' + * Fixes - Fixed read-only attribute set attempt in ::Storage::Replicated (RT#62642) diff --git a/Makefile.PL b/Makefile.PL index 5fe648b..8967b4c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -64,7 +64,7 @@ my $runtime_requires = { 'MRO::Compat' => '0.09', 'Module::Find' => '0.06', 'Path::Class' => '0.18', - 'SQL::Abstract' => '1.69', + 'SQL::Abstract' => '1.71', 'Sub::Name' => '0.04', 'Variable::Magic' => '0.44', 'Data::Dumper::Concise' => '1.000', diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index d07bb76..5818e53 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -1522,7 +1522,7 @@ sub _fix_bind_params { if ( defined( $_ && $_->[1] ) ) { map { qq{'$_'}; } @{$_}[ 1 .. $#$_ ]; } - else { q{'NULL'}; } + else { q{NULL}; } } @bind; }