diff options
Diffstat (limited to 'src/sqlite.c')
| -rw-r--r-- | src/sqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlite.c b/src/sqlite.c index 4968ce3f690..248ad478d57 100644 --- a/src/sqlite.c +++ b/src/sqlite.c | |||
| @@ -247,7 +247,7 @@ If FILE is nil, an in-memory database will be opened instead. */) | |||
| 247 | if (!NILP (file)) | 247 | if (!NILP (file)) |
| 248 | { | 248 | { |
| 249 | CHECK_STRING (file); | 249 | CHECK_STRING (file); |
| 250 | file = encode_string (Fexpand_file_name (file, Qnil)); | 250 | file = ENCODE_FILE (Fexpand_file_name (file, Qnil)); |
| 251 | name = xstrdup (SSDATA (file)); | 251 | name = xstrdup (SSDATA (file)); |
| 252 | } | 252 | } |
| 253 | else | 253 | else |
| @@ -596,7 +596,7 @@ system-dependent file-name extension. */) | |||
| 596 | { | 596 | { |
| 597 | check_sqlite (db, false); | 597 | check_sqlite (db, false); |
| 598 | CHECK_STRING (module); | 598 | CHECK_STRING (module); |
| 599 | Lisp_Object module_encoded = encode_string (Fexpand_file_name (module, Qnil)); | 599 | Lisp_Object module_encoded = ENCODE_FILE (Fexpand_file_name (module, Qnil)); |
| 600 | 600 | ||
| 601 | sqlite3 *sdb = XSQLITE (db)->db; | 601 | sqlite3 *sdb = XSQLITE (db)->db; |
| 602 | int result = sqlite3_load_extension (sdb, SSDATA (module_encoded), | 602 | int result = sqlite3_load_extension (sdb, SSDATA (module_encoded), |