--- parser3/src/include/pa_sql_driver_manager.h 2003/09/25 09:15:02 1.28 +++ parser3/src/include/pa_sql_driver_manager.h 2004/02/11 15:33:14 1.32 @@ -2,14 +2,14 @@ Parser: sql driver manager decl. global sql driver manager, must be thread-safe - 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_DRIVER_MANAGER_H #define PA_SQL_DRIVER_MANAGER_H -static const char* IDENT_SQL_DRIVER_MANAGER_H="$Date: 2003/09/25 09:15:02 $"; +static const char * const IDENT_SQL_DRIVER_MANAGER_H="$Date: 2004/02/11 15:33:14 $"; #include "pa_sql_driver.h" @@ -54,7 +54,9 @@ public: using driver dynamic library found in table, if not loaded yet checks driver version */ - SQL_Connection* get_connection(const String& aurl, Table *protocol2driver_and_client); + SQL_Connection* get_connection(const String& aurl, + Table *protocol2driver_and_client, + const char* arequest_charset); private: // driver cache @@ -83,6 +85,6 @@ public: // Cache_manager }; /// global -extern SQL_Driver_manager SQL_driver_manager; +extern SQL_Driver_manager* SQL_driver_manager; #endif