From df3c85661617cd129ee375c7d5eded70d7034738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 14 Jul 2023 12:10:35 +0200 Subject: [PATCH] Correctly tell if 'RETURNING' keyword is implemented. [GB.DB.SQLITE3] * BUG: Correctly tell if 'RETURNING' keyword is implemented. --- gb.db.sqlite3/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.db.sqlite3/src/main.c b/gb.db.sqlite3/src/main.c index 53ae6cf45..c38c81374 100644 --- a/gb.db.sqlite3/src/main.c +++ b/gb.db.sqlite3/src/main.c @@ -626,7 +626,7 @@ static int open_database(DB_DESC *desc, DB_DATABASE *db) /* flags */ db->flags.no_table_type = TRUE; db->flags.no_nest = TRUE; - db->flags.no_returning = TRUE; //db->version < 33500; // RETURNING keyword has been introduced in SQLite 3.35.0 + db->flags.no_returning = db->version < 33500; // RETURNING keyword has been introduced in SQLite 3.35.0 db->db_name_char = ".";