From 49c7a1fdb3a3f54c08fc46274dda8e27c81f01e5 Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 27 Nov 2021 07:48:44 +0100 Subject: [PATCH] [-] fix the bind_String_or_NULL to not handle the empty string as NULL --- database/db_binds.anubis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/db_binds.anubis b/database/db_binds.anubis index f33b2bd..1a462a3 100644 --- a/database/db_binds.anubis +++ b/database/db_binds.anubis @@ -59,7 +59,7 @@ public define SQLite3Bind String name, String value )= - if value = "" | value = "{NULL}" then + if value = "{NULL}" then bind_NULL(name) else bind_String(name, value). -- libgit2 0.21.4