mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 01:41:01 -08:00
* src/sqlite.c (row_to_value): Call 'make_unibyte_string'.
This commit is contained in:
parent
815a8a7db2
commit
facddfc803
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue