[z3-checkins] r39631 - z3/sqlos/trunk/src/sqlos
jinty at codespeak.net
jinty at codespeak.net
Thu Mar 1 14:44:30 CET 2007
Author: jinty
Date: Thu Mar 1 14:44:29 2007
New Revision: 39631
Modified:
z3/sqlos/trunk/src/sqlos/adapter.py
Log:
Fix a bug when testing with newer versions of SQLObject.
Modified: z3/sqlos/trunk/src/sqlos/adapter.py
==============================================================================
--- z3/sqlos/trunk/src/sqlos/adapter.py (original)
+++ z3/sqlos/trunk/src/sqlos/adapter.py Thu Mar 1 14:44:29 2007
@@ -181,5 +181,7 @@
except ImportError:
import sqlite
self.module = sqlite
+ # Check if we are a memory based database
+ self._memory = ':memory:' in connection.getTypeInfo().getDSN()
super(SQLiteAdapter, self).__init__(connection)
self.supportTransactions = True
More information about the z3-checkins
mailing list