--- parser3/src/include/pa_sql_connection.h 2003/01/31 12:10:45 1.30.2.5 +++ parser3/src/include/pa_sql_connection.h 2003/01/31 14:03:53 1.30.2.7 @@ -1,14 +1,14 @@ /** @file Parser: sql fconnection decl. - Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_SQL_CONNECTION_H #define PA_SQL_CONNECTION_H -static const char* IDENT_SQL_CONNECTION_H="$Date: 2003/01/31 12:10:45 $"; +static const char* IDENT_SQL_CONNECTION_H="$Date: 2003/01/31 14:03:53 $"; #include "pa_pool.h" #include "pa_sql_driver.h" @@ -120,7 +120,7 @@ public: ); return 0; // never reached } - uint quote(char *to, const char *from, unsigned int length) { + uint quote(char *to, const char* from, unsigned int length) { SQL_CONNECTION_SERVICED_FUNC_GUARDED( return fdriver.quote(fservices, fconnection, to, from, length) ); @@ -128,7 +128,7 @@ public: } 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, StringPtr source) { try { @@ -144,7 +144,7 @@ public: source, "%s", e.comment()); } else - /*re*/throw; + rethrow; } }