Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
71b6e977 by Cédric Krier at 2023-06-18T10:35:29+02:00
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
- - - - -


1 changed file:

- trytond/trytond/backend/sqlite/database.py


Changes:

=====================================
trytond/trytond/backend/sqlite/database.py
=====================================
@@ -455,9 +455,6 @@
     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



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/71b6e977dd41028ceea5586b01aaaf52f4df3055

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/71b6e977dd41028ceea5586b01aaaf52f4df3055
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to