--- parser3/src/include/pa_sql_connection.h 2003/12/10 14:17:45 1.34 +++ parser3/src/include/pa_sql_connection.h 2003/12/10 14:54:53 1.35 @@ -8,7 +8,7 @@ #ifndef PA_SQL_CONNECTION_H #define PA_SQL_CONNECTION_H -static const char * const IDENT_SQL_CONNECTION_H="$Date: 2003/12/10 14:17:45 $"; +static const char * const IDENT_SQL_CONNECTION_H="$Date: 2003/12/10 14:54:53 $"; #include "pa_sql_driver.h" @@ -18,9 +18,12 @@ static const char * const IDENT_SQL_CONN /// @see SQL_Driver_services_impl::_throw #ifdef PA_WITH_SJLJ_EXCEPTIONS - #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) actions + #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \ + use(); \ + actions #else #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \ + use(); \ if(!setjmp(fservices.mark)) { \ actions; \ } else \ @@ -103,7 +106,7 @@ public: time_used=time(0); // they started to use at this time } bool expired(time_t older_dies) { - return /*!freferences && */time_used