Diff for /parser3/src/include/pa_sql_connection.h between versions 1.25 and 1.27

version 1.25, 2002/08/01 11:26:47 version 1.27, 2002/08/15 10:38:18
Line 8 Line 8
 #ifndef PA_SQL_CONNECTION_H  #ifndef PA_SQL_CONNECTION_H
 #define PA_SQL_CONNECTION_H  #define PA_SQL_CONNECTION_H
   
 static const char* IDENT_SQL_CONNECTION_H="$Id$";  static const char* IDENT_SQL_CONNECTION_H="$Date$";
   
 #include "pa_pool.h"  #include "pa_pool.h"
 #include "pa_sql_driver.h"  #include "pa_sql_driver.h"
Line 72  public: Line 72  public:
   
         void query(          void query(
                 const char *statement, unsigned long offset, unsigned long limit,                  const char *statement, unsigned long offset, unsigned long limit,
                 SQL_Driver_query_event_handlers& handlers) {                   SQL_Driver_query_event_handlers& handlers, 
                 SQL_CONNECTION_SERVICED_FUNC_GUARDED(                  const String& source) {
                         fdriver.query(*fservices, fconnection,                   try {
                                 statement, offset, limit,                           SQL_CONNECTION_SERVICED_FUNC_GUARDED(
                                 handlers)                                  fdriver.query(*fservices, fconnection, 
                 );                                          statement, offset, limit, 
                                           handlers)
                           );      
                   } catch(const Exception& e) { // query problem
                           // give more specific source [were url]
                           throw Exception("sql.execute",
                                   &source, 
                                   "%s", e.comment());
                   }
         }          }
   
         void mark_to_rollback() {          void mark_to_rollback() {

Removed from v.1.25  
changed lines
  Added in v.1.27


E-mail: