aboutsummaryrefslogtreecommitdiff
path: root/tool/sqldiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/sqldiff.c')
-rw-r--r--tool/sqldiff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/sqldiff.c b/tool/sqldiff.c
index cbb57e777..67f3197bb 100644
--- a/tool/sqldiff.c
+++ b/tool/sqldiff.c
@@ -403,7 +403,8 @@ static void printQuoted(FILE *out, sqlite3_value *X){
}
fprintf(out, "'");
}else{
- fprintf(out, "NULL");
+ /* Could be an OOM, could be a zero-byte blob */
+ fprintf(out, "X''");
}
break;
}