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

Shane Hathaway shane at hathawaymix.org
Thu Oct 21 23:06:57 EDT 2010


Log message for revision 117807:
  Oracle: always connect in threaded mode.  Without threaded mode,
  clients of Oracle 11g sometimes segfault.
  

Changed:
  U   relstorage/branches/1.4/CHANGES.txt
  U   relstorage/branches/1.4/relstorage/adapters/oracle.py
  U   relstorage/branches/1.4/setup.py

-=-
Modified: relstorage/branches/1.4/CHANGES.txt
===================================================================
--- relstorage/branches/1.4/CHANGES.txt	2010-10-21 17:18:36 UTC (rev 117806)
+++ relstorage/branches/1.4/CHANGES.txt	2010-10-22 03:06:56 UTC (rev 117807)
@@ -1,4 +1,9 @@
+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/branches/1.4/relstorage/adapters/oracle.py
===================================================================
--- relstorage/branches/1.4/relstorage/adapters/oracle.py	2010-10-21 17:18:36 UTC (rev 117806)
+++ relstorage/branches/1.4/relstorage/adapters/oracle.py	2010-10-22 03:06:56 UTC (rev 117807)
@@ -283,7 +283,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()

Modified: relstorage/branches/1.4/setup.py
===================================================================
--- relstorage/branches/1.4/setup.py	2010-10-21 17:18:36 UTC (rev 117806)
+++ relstorage/branches/1.4/setup.py	2010-10-22 03:06:56 UTC (rev 117807)
@@ -13,7 +13,7 @@
 ##############################################################################
 """A backend for ZODB that stores pickles in a relational database."""
 
-VERSION = "1.4.0"
+VERSION = "1.4.1"
 
 # The choices for the Trove Development Status line:
 # Development Status :: 5 - Production/Stable



More information about the checkins mailing list