[pypy-svn] r69677 - pypy/trunk/pypy/module/oracle

afa at codespeak.net afa at codespeak.net
Fri Nov 27 11:34:11 CET 2009


Author: afa
Date: Fri Nov 27 11:34:11 2009
New Revision: 69677

Modified:
   pypy/trunk/pypy/module/oracle/interp_connect.py
Log:
Add a marker for code that I did not translate from cx_Oracle.
cx_Oracle has no test about it :-(


Modified: pypy/trunk/pypy/module/oracle/interp_connect.py
==============================================================================
--- pypy/trunk/pypy/module/oracle/interp_connect.py	(original)
+++ pypy/trunk/pypy/module/oracle/interp_connect.py	Fri Nov 27 11:34:11 2009
@@ -163,7 +163,10 @@
 
         # set the internal and external names; these are needed for global
         # transactions but are limited in terms of the lengths of the strings
-
+        if twophase:
+            raise OperationError(
+                interp_error.get(space).w_NotSupportedError
+                space.wrap("XXX write me"))
 
         # allocate the session handle
         handleptr = lltype.malloc(rffi.CArrayPtr(roci.OCISession).TO,



More information about the Pypy-commit mailing list