[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7136 - in trunk/gnue-common/src/datasources/drivers: Base appser
From: |
reinhard |
Subject: |
[gnue] r7136 - in trunk/gnue-common/src/datasources/drivers: Base appserver/appserver |
Date: |
Tue, 8 Mar 2005 15:24:30 -0600 (CST) |
Author: reinhard
Date: 2005-03-08 15:24:29 -0600 (Tue, 08 Mar 2005)
New Revision: 7136
Modified:
trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
Log:
Removed some dead code.
Modified: trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py 2005-03-08
21:02:25 UTC (rev 7135)
+++ trunk/gnue-common/src/datasources/drivers/Base/ResultSet.py 2005-03-08
21:24:29 UTC (rev 7136)
@@ -364,8 +364,6 @@
def post(self, foreign_keys={}):
global postingRecordset
# post our changes
- self._update_cursor = self._dataObject._dataConnection.cursor()
-
recordPosition = 0
while recordPosition < len(self._cachedRecords):
self._postingRecord = self._cachedRecords[recordPosition]
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-08 21:02:25 UTC (rev 7135)
+++ trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-08 21:24:29 UTC (rev 7136)
@@ -121,9 +121,6 @@
except:
raise Exceptions.ConnectError, errors.getException () [2]
- # Can be removed after the call to _dataConnection.cursor() is removed from
- # the Base driver
- self.native = self
# ---------------------------------------------------------------------------
# Commit active transaction
@@ -132,6 +129,7 @@
def commit (self):
self._sm.commit (self._sess_id)
+
# ---------------------------------------------------------------------------
# Rollback active transaction
# ---------------------------------------------------------------------------
@@ -139,6 +137,7 @@
def rollback (self):
self._sm.rollback (self._sess_id)
+
# ---------------------------------------------------------------------------
# Close connection
# ---------------------------------------------------------------------------
@@ -147,12 +146,7 @@
if self._sm is not None:
self._sm.close (self._sess_id, False)
- # Can be removed after the call to _dataConnection.cursor() is removed from
- # the Base driver
- def cursor(self):
- return None
-
# ---------------------------------------------------------------------------
# Create/return a connection to the appserver
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7136 - in trunk/gnue-common/src/datasources/drivers: Base appserver/appserver,
reinhard <=