#2203: temporary tables disappear on commit in sqlite + sqlalchemy 0.7
---------------------------------+------------------------------------------
Reporter: guest | Owner: zzzeek
Type: defect | Status: reopened
Priority: medium | Milestone:
Component: sqlite | Severity: no triage selected yet
Resolution: | Keywords:
Status_field: completed/closed |
---------------------------------+------------------------------------------
Changes (by guest):
* status: closed => reopened
* resolution: worksforme =>
Comment:
I'm familiar with the workaround, and have already patched my app, but
with all due respect I think you have closed this prematurely. Temporary
tables are persistent per session (not per transaction) in sqlite,
postgres and possibly other databases, and not to mention previous
versions of SQLAlchemy. Given SQLAlchemy has deviated from the way
(py)sqlite connections temp tables, I think at the very least this needs
to be documented in the 0.7 release notes and SQLAlchemy's sqlite
documentation so other people don't have to dig around to find out why
their tables are disappearing.
(do I need to reopen for you to get replies? if not, sorry)
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2203#comment:3>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|