Author: johannes Date: 2005-09-26 23:12:41 -0500 (Mon, 26 Sep 2005) New Revision: 8001
Modified: trunk/gnue-common/src/datasources/drivers/Base/Connection.py trunk/gnue-common/src/datasources/drivers/other/appserver.py trunk/gnue-common/src/datasources/drivers/sql/postgresql/psycopgdrv.py trunk/gnue-common/src/datasources/drivers/sql/postgresql/pygresqldrv.py trunk/gnue-common/src/datasources/drivers/sql/postgresql/pypgsqldrv.py Log: Changed default-value for _need_rollback_after_exception_ flag Modified: trunk/gnue-common/src/datasources/drivers/Base/Connection.py =================================================================== --- trunk/gnue-common/src/datasources/drivers/Base/Connection.py 2005-09-27 02:48:26 UTC (rev 8000) +++ trunk/gnue-common/src/datasources/drivers/Base/Connection.py 2005-09-27 04:12:41 UTC (rev 8001) @@ -80,7 +80,7 @@ _defaultBehavior_ = None _rowidField_ = None _primarykeyFields_ = None - _need_rollback_after_exception_ = True + _need_rollback_after_exception_ = False # --------------------------------------------------------------------------- Modified: trunk/gnue-common/src/datasources/drivers/other/appserver.py =================================================================== --- trunk/gnue-common/src/datasources/drivers/other/appserver.py 2005-09-27 02:48:26 UTC (rev 8000) +++ trunk/gnue-common/src/datasources/drivers/other/appserver.py 2005-09-27 04:12:41 UTC (rev 8001) @@ -313,7 +313,6 @@ _resultSetClass_ = ResultSet _behavior_ = Behavior _primarykeyFields_ = [u'gnue_id'] - _need_rollback_after_exception_ = False # --------------------------------------------------------------------------- Modified: trunk/gnue-common/src/datasources/drivers/sql/postgresql/psycopgdrv.py =================================================================== --- trunk/gnue-common/src/datasources/drivers/sql/postgresql/psycopgdrv.py 2005-09-27 02:48:26 UTC (rev 8000) +++ trunk/gnue-common/src/datasources/drivers/sql/postgresql/psycopgdrv.py 2005-09-27 04:12:41 UTC (rev 8001) @@ -104,3 +104,4 @@ """ _drivername_ = 'psycopg' + _need_rollback_after_exception_ = True Modified: trunk/gnue-common/src/datasources/drivers/sql/postgresql/pygresqldrv.py =================================================================== --- trunk/gnue-common/src/datasources/drivers/sql/postgresql/pygresqldrv.py 2005-09-27 02:48:26 UTC (rev 8000) +++ trunk/gnue-common/src/datasources/drivers/sql/postgresql/pygresqldrv.py 2005-09-27 04:12:41 UTC (rev 8001) @@ -98,3 +98,4 @@ """ _drivername_ = 'pgdb' + _need_rollback_after_exception_ = True Modified: trunk/gnue-common/src/datasources/drivers/sql/postgresql/pypgsqldrv.py =================================================================== --- trunk/gnue-common/src/datasources/drivers/sql/postgresql/pypgsqldrv.py 2005-09-27 02:48:26 UTC (rev 8000) +++ trunk/gnue-common/src/datasources/drivers/sql/postgresql/pypgsqldrv.py 2005-09-27 04:12:41 UTC (rev 8001) @@ -107,3 +107,4 @@ _rowidField_ = None # PyPgSQL doesn't support rowid's!! _broken_fetchmany_ = True _broken_rowcount_ = True + _need_rollback_after_exception_ = True _______________________________________________ Commit-gnue mailing list [email protected] http://lists.gnu.org/mailman/listinfo/commit-gnue
