summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDB/Util/DB.pm')
-rw-r--r--lib/VNDB/Util/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/DB.pm b/lib/VNDB/Util/DB.pm
index f10f7b67..e5eba14f 100644
--- a/lib/VNDB/Util/DB.pm
+++ b/lib/VNDB/Util/DB.pm
@@ -1274,7 +1274,7 @@ sub qs { # ISO SQL2-quoting, with some PgSQL-specific stuff
# depends on the standard_conforming_strings configuration option of PgSQL,
# while E'' will always behave the same regardless of the server configuration.
for (@r) {
- (!defined $_ or $_ eq '_NULL_') && ($_ = 'NULL') && next;
+ (!defined $_ or $_ eq '_NULL_') && next;
s/'/''/g;
s/\\/\\\\/g;
$_ = "E'$_'";