diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2021-12-11 12:05:54 +0200 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2021-12-11 12:05:54 +0200 |
| commit | facddfc8036fa81dd2ad3a0ec2227ef8790f28eb (patch) | |
| tree | 399451a38de4435a6d65c39977a2c0dd92098237 /src/sqlite.c | |
| parent | 815a8a7db21640633b1615044838c73e2451ac86 (diff) | |
* src/sqlite.c (row_to_value): Call 'make_unibyte_string'.
Diffstat (limited to 'src/sqlite.c')
| -rw-r--r-- | src/sqlite.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sqlite.c b/src/sqlite.c index 87cebb16860..d92dcf723c9 100644 --- a/src/sqlite.c +++ b/src/sqlite.c @@ -428,8 +428,8 @@ row_to_value (sqlite3_stmt *stmt) case SQLITE_BLOB: v = code_convert_string_norecord - (make_string (sqlite3_column_blob (stmt, i), - sqlite3_column_bytes (stmt, i)), + (make_unibyte_string (sqlite3_column_blob (stmt, i), + sqlite3_column_bytes (stmt, i)), Qutf_8, false); break; @@ -440,8 +440,8 @@ row_to_value (sqlite3_stmt *stmt) case SQLITE_TEXT: v = code_convert_string_norecord - (make_string ((const char*)sqlite3_column_text (stmt, i), - sqlite3_column_bytes (stmt, i)), + (make_unibyte_string ((const char *)sqlite3_column_text (stmt, i), + sqlite3_column_bytes (stmt, i)), Qutf_8, false); break; } |
