--- parser3/src/include/pa_sql_connection.h 2003/12/22 11:44:35 1.37 +++ parser3/src/include/pa_sql_connection.h 2004/06/18 15:55:47 1.39 @@ -1,14 +1,14 @@ /** @file Parser: sql fconnection decl. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2004 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 * const IDENT_SQL_CONNECTION_H="$Date: 2003/12/22 11:44:35 $"; +static const char * const IDENT_SQL_CONNECTION_H="$Date: 2004/06/18 15:55:47 $"; #include "pa_sql_driver.h" @@ -138,13 +138,17 @@ public: } void query( - const char* statement, unsigned long offset, unsigned long limit, + const char* statement, + size_t placeholders_count, SQL_Driver::Placeholder* placeholders, + unsigned long offset, unsigned long limit, SQL_Driver_query_event_handlers& handlers, const String& source) { try { SQL_CONNECTION_SERVICED_FUNC_GUARDED( fdriver.query(fconnection, - statement, offset, limit, + statement, + placeholders_count, placeholders, + offset, limit, handlers) ); } catch(const Exception& e) { // query problem