From ff883ff5c298880e0a4d74f3c00545656d1f0456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 18 Jun 2023 10:35:29 +0200 Subject: [PATCH] Remove support of returning for SQLite Backed out changeset 989eeee984e4 The SQLite implementation of returning is partial so we can not yet use it as long as the limitations are not solved: https://www.sqlite.org/lang_returning.html#limitations_and_caveats Closes #12288 --- trytond/trytond/backend/sqlite/database.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/trytond/trytond/backend/sqlite/database.py b/trytond/trytond/backend/sqlite/database.py index f6747ea58e..f4684a67e9 100644 --- a/trytond/trytond/backend/sqlite/database.py +++ b/trytond/trytond/backend/sqlite/database.py @@ -455,9 +455,6 @@ class Database(DatabaseInterface): def put_connection(self, connection=None, close=False): pass - def has_returning(self): - return sqlite.sqlite_version_info >= (3, 35, 0) - def close(self): if self.name == ':memory:': return