[Zope-Checkins] CVS: Products/DCOracle2/DCOracle2 - DCOracle2.py:1.81.4.3

Matthew T. Kromer matt@zope.com
Mon, 25 Feb 2002 11:17:51 -0500


Update of /cvs-repository/Products/DCOracle2/DCOracle2
In directory cvs.zope.org:/tmp/cvs-serv1157/DCOracle2

Modified Files:
      Tag: dco2-object-branch
	DCOracle2.py 
Log Message:
Change default array size to 20 rather than 200 (same for prefetch size)
and change LobLocators to always allocate an error handle (normal code path
does not call with alloc=1, because it is swapping locator handles).


=== Products/DCOracle2/DCOracle2/DCOracle2.py 1.81.4.2 => 1.81.4.3 ===
     _connection = None
     _mapproc = {}
-    _prefetch = (200,1048576) # default 200 records, size <= 1M
-    arraysize = 200
+    _prefetch = (20,1048576) # default 20 records, size <= 1M
+    arraysize = 20
     rowcount = -1
     description = None
     __allow_access_to_unprotected_subobjects__ = 1  # For Zope