aboutsummaryrefslogtreecommitdiffstats
path: root/src/sqlite.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-10-09 02:19:14 +0200
committerLars Ingebrigtsen2022-10-09 15:38:52 +0200
commit0ce91ed8b478364a69502751d86bf5c5568a429c (patch)
tree1abbd8397927a753a0909755b534b5dfe839232a /src/sqlite.c
parent22374f21229da6052a4d8f13916c79515dddf4f1 (diff)
downloademacs-0ce91ed8b478364a69502751d86bf5c5568a429c.tar.gz
emacs-0ce91ed8b478364a69502751d86bf5c5568a429c.zip
Clean up Fsqlite_select slightly
* src/sqlite.c (Fsqlite_select): Clean up code slightly.
Diffstat (limited to 'src/sqlite.c')
-rw-r--r--src/sqlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqlite.c b/src/sqlite.c
index 9375b44da25..a46acf8523a 100644
--- a/src/sqlite.c
+++ b/src/sqlite.c
@@ -557,7 +557,7 @@ which means that we return a set object that can be queried with
557 557
558 /* Return the data directly. */ 558 /* Return the data directly. */
559 Lisp_Object data = Qnil; 559 Lisp_Object data = Qnil;
560 while ((ret = sqlite3_step (stmt)) == SQLITE_ROW) 560 while (sqlite3_step (stmt) == SQLITE_ROW)
561 data = Fcons (row_to_value (stmt), data); 561 data = Fcons (row_to_value (stmt), data);
562 562
563 if (EQ (return_type, Qfull)) 563 if (EQ (return_type, Qfull))