commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6424 - in trunk/gnue-common/src/datasources/drivers: postgresql/Base sq


From: johannes
Subject: r6424 - in trunk/gnue-common/src/datasources/drivers: postgresql/Base sqlite/sqlite
Date: Wed, 29 Sep 2004 04:26:36 -0500 (CDT)

Author: johannes
Date: 2004-09-29 04:26:36 -0500 (Wed, 29 Sep 2004)
New Revision: 6424

Removed:
   trunk/gnue-common/src/datasources/drivers/postgresql/Base/RecordSet.py
   trunk/gnue-common/src/datasources/drivers/postgresql/Base/ResultSet.py
   trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/RecordSet.py
   trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/ResultSet.py
Modified:
   trunk/gnue-common/src/datasources/drivers/postgresql/Base/__init__.py
Log:
Removed obsolete files


Deleted: trunk/gnue-common/src/datasources/drivers/postgresql/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/Base/RecordSet.py      
2004-09-29 07:24:33 UTC (rev 6423)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/Base/RecordSet.py      
2004-09-29 09:26:36 UTC (rev 6424)
@@ -1,66 +0,0 @@
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise is free software; you can redistribute it
-# and/or modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2, or(at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-# Copyright 2000-2004 Free Software Foundation
-#
-# FILE:
-# _pgsql/DBdriver.py
-#
-# DESCRIPTION:
-# A core Postgresql dbdriver that the other (specific)
-# postgresql drivers can extend
-#
-# NOTES:
-#
-
-__all__ = ['RecordSet']
-
-import string
-from gnue.common.datasources.drivers import DBSIG2
-
-
-#
-#
-#
-class RecordSet(DBSIG2.RecordSet):
-  pass
-
-##
-## Seems identical to the base records function
-##
-##   def _buildUpdateStatement(self):
-##     updates = []
-##     for field in self._modifiedFlags.keys():
-##       updates.append ("%s=%s" % (field,
-##         self._parent._dataObject._toSqlString(self._fields[field])))
-
-##     if self._parent._dataObject._primaryIdField:
-##       where = [self._parent._dataObject._primaryIdFormat % \
-##           self._initialData[self._parent._dataObject._primaryIdField]  ]
-##     else:
-##       where = []
-##       for field in self._initialData.keys():
-##         if self._initialData[field] == None:
-##           where.append ("%s IS NULL" % field)
-##         else:
-##           where.append ("%s=%s" % (field, 
self._parent._dataObject._toSqlString(self._initialData[field])))
-##     return "UPDATE %s SET %s WHERE %s" % \
-##        (self._parent._dataObject.table, string.join(updates,','), \
-##         string.join(where,' AND ') )
-
-

Deleted: trunk/gnue-common/src/datasources/drivers/postgresql/Base/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/Base/ResultSet.py      
2004-09-29 07:24:33 UTC (rev 6423)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/Base/ResultSet.py      
2004-09-29 09:26:36 UTC (rev 6424)
@@ -1,42 +0,0 @@
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise is free software; you can redistribute it
-# and/or modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2, or(at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-# Copyright 2000-2004 Free Software Foundation
-#
-# FILE:
-# _pgsql/DBdriver.py
-#
-# DESCRIPTION:
-# A core Postgresql dbdriver that the other (specific)
-# postgresql drivers can extend
-#
-# NOTES:
-#
-
-__all__ = ['ResultSet']
-
-from gnue.common.datasources.drivers import DBSIG2
-from RecordSet import RecordSet
-
-#
-#
-#
-class ResultSet(DBSIG2.ResultSet):
-  _recordSetClass = RecordSet
-
-

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/Base/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/Base/__init__.py       
2004-09-29 07:24:33 UTC (rev 6423)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/Base/__init__.py       
2004-09-29 09:26:36 UTC (rev 6424)
@@ -24,6 +24,4 @@
 
 from Connection import *
 from DataObject import *
-from ResultSet import *
-from RecordSet import *
 

Deleted: trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/RecordSet.py        
2004-09-29 07:24:33 UTC (rev 6423)
+++ trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/RecordSet.py        
2004-09-29 09:26:36 UTC (rev 6424)
@@ -1,26 +0,0 @@
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise is free software; you can redistribute it
-# and/or modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2, or (at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-# Copyright 2000-2004 Free Software Foundation
-#
-# $Id$
-
-from gnue.common.datasources.drivers import DBSIG2
-
-class RecordSet (DBSIG2.RecordSet):
-  pass

Deleted: trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/ResultSet.py        
2004-09-29 07:24:33 UTC (rev 6423)
+++ trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/ResultSet.py        
2004-09-29 09:26:36 UTC (rev 6424)
@@ -1,27 +0,0 @@
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise is free software; you can redistribute it
-# and/or modify it under the terms of the GNU General Public
-# License as published by the Free Software Foundation; either
-# version 2, or (at your option) any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public
-# License along with program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-#
-# Copyright 2000-2004 Free Software Foundation
-#
-# $Id$
-
-from gnue.common.datasources.drivers import DBSIG2
-from RecordSet import RecordSet
-
-class ResultSet (DBSIG2.ResultSet):
-  _recordSetClass = RecordSet





reply via email to

[Prev in Thread] Current Thread [Next in Thread]