Use uppercase NULL

This commit is contained in:
Spxg
2025-05-18 01:00:21 +08:00
parent 1b185faebc
commit bb0e9fd624
2 changed files with 4 additions and 4 deletions

View File

@@ -214,7 +214,7 @@ impl SQLitePreparedStatement {
// https://www.sqlite.org/c3ref/column_blob.html
let value = unsafe {
match column_type {
SQLITE_NULL => "Null".to_string(),
SQLITE_NULL => "NULL".to_string(),
SQLITE_INTEGER => {
let number = sqlite3_column_int64(self.stmt, col_ndx);
number.to_string()