Hi,

I am using SQLObject 0.7.0 on Fedora Core 6 with python-sqlite 1.1.7 and so far 
everything worked well (especially in-memory databases). But this is only my 
development system so my apps have virtually no load to handle. This won't be 
the case on my production servers of course...

Now I tested my app with SQLObject 0.7.2 and found that in-memory databases are 
not supported any longer with the my old version of sqlite. There is now an 
explicit version check in sqliteconnection.py.

The change was made on 01/19/2006, nearly one year ago by Ian Bicking in 
revision 1523 so I guess there was a good reason to do that.

svn diff --revision 1497:1523 
http://svn.colorstudy.com/SQLObject/trunk/sqlobject/sqlite/sqliteconnection.py
...
+        if self._memory:
+            if not using_sqlite2:
+                raise ValueError(
+                    "You must use sqlite2 to use in-memory databases")
+            #kw.setdefault('check_same_thread', False)
...

Can you explain to me if using sqlite 1.x with in-memory databases should be 
considered harmful/buggy?

Thank you very much...
fs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to