From: Matt S Trout Date: Sun, 2 Sep 2018 20:45:37 +0000 (+0000) Subject: remove another special case IS NULL rendering X-Git-Tag: v1.90_01~488 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4fd1bf5c2b5d8103c7d1378f7871aeeb05eece8;p=dbsrgits%2FSQL-Abstract.git remove another special case IS NULL rendering --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 49b6ad2..f9ee1e5 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -844,7 +844,7 @@ sub _where_op_VALUE { # special-case NULL if (! defined $rhs) { return defined $lhs - ? $self->_convert($self->_quote($lhs)) . ' IS NULL' + ? $self->_where_hashpair_HASHREF($lhs, { -is => undef }) : undef ; }