summaryrefslogtreecommitdiff
path: root/src/arch/vmpa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/vmpa.c')
-rw-r--r--src/arch/vmpa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/vmpa.c b/src/arch/vmpa.c
index 9f2245c..5030562 100644
--- a/src/arch/vmpa.c
+++ b/src/arch/vmpa.c
@@ -639,8 +639,7 @@ bool prepare_vmpa_db_statement(const vmpa2t *addr, bound_value **values, size_t
}
else
{
- value->type = SQLITE_RAW;
- value->cstring = "NULL";
+ value->type = SQLITE_NULL;
}
*values = (bound_value *)realloc(*values, ++(*count) * sizeof(bound_value));
@@ -655,8 +654,7 @@ bool prepare_vmpa_db_statement(const vmpa2t *addr, bound_value **values, size_t
}
else
{
- value->type = SQLITE_RAW;
- value->cstring = "NULL";
+ value->type = SQLITE_NULL;
}
return true;