--- parser3/src/include/pa_sql_driver_manager.h 2001/12/15 21:28:20 1.20 +++ parser3/src/include/pa_sql_driver_manager.h 2002/02/08 08:30:14 1.23 @@ -2,10 +2,10 @@ Parser: sql driver manager decl. global sql driver manager, must be thread-safe - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_sql_driver_manager.h,v 1.20 2001/12/15 21:28:20 paf Exp $ + $Id: pa_sql_driver_manager.h,v 1.23 2002/02/08 08:30:14 paf Exp $ */ #ifndef PA_SQL_DRIVER_MANAGER_H @@ -26,6 +26,7 @@ // forwards class SQL_Connection; +class SQL_Connection_ptr; /// sql driver manager class SQL_Driver_manager : public Cache_manager { @@ -40,7 +41,7 @@ public: using driver dynamic library found in table, if not loaded yet checks driver version */ - SQL_Connection& get_connection(const String& url, const String& request_origin, + SQL_Connection_ptr get_connection(const String& url, const String& request_origin, Table *protocol2driver_and_client); private: // driver cache