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: v2.000000~3^2~509 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d22f45652b4b594cb733d1200f4326b69d12b75;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 5718f8f..42e1e63 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 ; }