[Checkins] SVN: relstorage/trunk/ Oracle: always connect in threaded mode. Without threaded mode,

Shane Hathaway shane at hathawaymix.org
Thu Oct 21 23:08:00 EDT 2010


Log message for revision 117808:
  Oracle: always connect in threaded mode.  Without threaded mode,
  clients of Oracle 11g sometimes segfault.
  
  Also added Oracle 11g to the list of supported databases. :-)
  

Changed:
  U   relstorage/trunk/CHANGES.txt
  U   relstorage/trunk/README.txt
  U   relstorage/trunk/relstorage/adapters/oracle.py

-=-
Modified: relstorage/trunk/CHANGES.txt
===================================================================
--- relstorage/trunk/CHANGES.txt	2010-10-22 03:06:56 UTC (rev 117807)
+++ relstorage/trunk/CHANGES.txt	2010-10-22 03:08:00 UTC (rev 117808)
@@ -6,6 +6,12 @@
 
 - Require setuptools or distribute.  Plain distutils is not sufficient.
 
+1.4.1 (2010-10-21)
+------------------
+
+- Oracle: always connect in threaded mode.  Without threaded mode,
+  clients of Oracle 11g sometimes segfault.
+
 1.4.0 (2010-09-30)
 ------------------
 

Modified: relstorage/trunk/README.txt
===================================================================
--- relstorage/trunk/README.txt	2010-10-22 03:06:56 UTC (rev 117807)
+++ relstorage/trunk/README.txt	2010-10-22 03:08:00 UTC (rev 117808)
@@ -1,9 +1,9 @@
 
 RelStorage is a storage implementation for ZODB that stores pickles in
 a relational database. PostgreSQL 8.1 and above (via psycopg2), MySQL
-5.0.32+ / 5.1.34+ (via MySQLdb 1.2.2 and above), and Oracle 10g (via
-cx_Oracle) are currently supported. RelStorage replaces the PGStorage
-project.
+5.0.32+ / 5.1.34+ (via MySQLdb 1.2.2 and above), and Oracle 10g and 11g
+(via cx_Oracle) are currently supported. RelStorage replaced the
+PGStorage project.
 
 .. contents::
 

Modified: relstorage/trunk/relstorage/adapters/oracle.py
===================================================================
--- relstorage/trunk/relstorage/adapters/oracle.py	2010-10-22 03:06:56 UTC (rev 117807)
+++ relstorage/trunk/relstorage/adapters/oracle.py	2010-10-22 03:08:00 UTC (rev 117808)
@@ -284,7 +284,7 @@
 
         while True:
             try:
-                kw = {'twophase': twophase}  #, 'threaded': True}
+                kw = {'twophase': twophase, 'threaded': True}
                 conn = cx_Oracle.connect(
                     self._user, self._password, self._dsn, **kw)
                 cursor = conn.cursor()



More information about the checkins mailing list