remove another special case IS NULL rendering
[scpubgit/Q-Branch.git] / lib / SQL / Abstract.pm
index 49b6ad2..f9ee1e5 100644 (file)
@@ -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
     ;
   }