--- parser3/src/include/pa_sql_connection.h 2002/02/08 07:27:45 1.22 +++ parser3/src/include/pa_sql_connection.h 2002/03/25 09:40:01 1.24 @@ -2,9 +2,9 @@ Parser: sql fconnection decl. Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_sql_connection.h,v 1.22 2002/02/08 07:27:45 paf Exp $ + $Id: pa_sql_connection.h,v 1.24 2002/03/25 09:40:01 paf Exp $ */ #ifndef PA_SQL_CONNECTION_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);