Diff for /parser3/src/include/pa_sql_connection.h between versions 1.34 and 1.35

version 1.34, 2003/12/10 14:17:45 version 1.35, 2003/12/10 14:54:53
Line 18  static const char * const IDENT_SQL_CONN Line 18  static const char * const IDENT_SQL_CONN
   
 /// @see SQL_Driver_services_impl::_throw  /// @see SQL_Driver_services_impl::_throw
 #ifdef PA_WITH_SJLJ_EXCEPTIONS  #ifdef PA_WITH_SJLJ_EXCEPTIONS
         #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) actions          #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \
                   use(); \
                   actions
 #else  #else
         #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \          #define SQL_CONNECTION_SERVICED_FUNC_GUARDED(actions) \
                   use(); \
                 if(!setjmp(fservices.mark)) { \                  if(!setjmp(fservices.mark)) { \
                         actions; \                          actions; \
                 } else \                  } else \
Line 103  public: Line 106  public:
                 time_used=time(0); // they started to use at this time                  time_used=time(0); // they started to use at this time
         }          }
         bool expired(time_t older_dies) {          bool expired(time_t older_dies) {
                 return /*!freferences && */time_used<older_dies;                  return time_used<older_dies;
         }          }
         time_t get_time_used() { return time_used; }          time_t get_time_used() { return time_used; }
   
Line 125  public: Line 128  public:
                 SQL_CONNECTION_SERVICED_FUNC_GUARDED(                  SQL_CONNECTION_SERVICED_FUNC_GUARDED(
                         return fdriver.quote(fservices, fconnection, str, length)                          return fdriver.quote(fservices, fconnection, str, length)
                 );                  );
 //              return 0; // never reached  
         }          }
   
         void query(          void query(

Removed from v.1.34  
changed lines
  Added in v.1.35


E-mail: