[Modeling-cvs] ProjectModeling/Modeling/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer AbstractDBAPI2Ad
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2003-05-27 17:01:55
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer In directory sc8-pr-cvs1:/tmp/cvs-serv26344/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer Modified Files: AbstractDBAPI2Adaptor.py Log Message: Fixed: no rollback on "administrative" cursor since they mostly are in autocommi mode Index: AbstractDBAPI2Adaptor.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer/AbstractDBAPI2Adaptor.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AbstractDBAPI2Adaptor.py 22 Apr 2003 17:05:26 -0000 1.2 --- AbstractDBAPI2Adaptor.py 27 May 2003 17:01:52 -0000 1.3 *************** *** 146,150 **** # problem, I suspect a delayed destruction of the cnx in dropDB() # causing the connection to persist when createDB begins. ! cur.rollback() ; cur.close() cnx.close() del cur, cnx --- 146,150 ---- # problem, I suspect a delayed destruction of the cnx in dropDB() # causing the connection to persist when createDB begins. ! cur.close() cnx.close() del cur, cnx *************** *** 170,174 **** # See comments in createDatabaseWithAdministrativeConnectionDictionary() # --> explicit closing and destruction of cnx and cur are intended here ! cur.rollback() ; cur.close() cnx.close() del cur; del cnx --- 170,174 ---- # See comments in createDatabaseWithAdministrativeConnectionDictionary() # --> explicit closing and destruction of cnx and cur are intended here ! cur.close() cnx.close() del cur; del cnx |