--- parser3/src/include/pa_sql_connection.h 2002/02/08 08:30:13 1.23 +++ parser3/src/include/pa_sql_connection.h 2002/08/01 11:41:16 1.26 @@ -3,13 +3,13 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: pa_sql_connection.h,v 1.23 2002/02/08 08:30:13 paf Exp $ */ #ifndef PA_SQL_CONNECTION_H #define PA_SQL_CONNECTION_H +static const char* IDENT_SQL_CONNECTION_H="$Date: 2002/08/01 11:41:16 $"; + #include "pa_pool.h" #include "pa_sql_driver.h" #include "pa_sql_driver_manager.h" @@ -99,9 +99,10 @@ private: // closing process /// return to cache void close() { - if(marked_to_rollback) + if(marked_to_rollback) { rollback(); - else + marked_to_rollback=false; + } else commit(); SQL_driver_manager->close_connection(furl, *this);