--- parser3/src/main/pa_sql_driver_manager.C 2003/01/31 12:34:37 1.69.2.9 +++ parser3/src/main/pa_sql_driver_manager.C 2003/02/04 10:32:12 1.69.2.10 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_SQL_DRIVER_MANAGER_C="$Date: 2003/01/31 12:34:37 $"; +static const char* IDENT_SQL_DRIVER_MANAGER_C="$Date: 2003/02/04 10:32:12 $"; #include "pa_sql_driver_manager.h" #include "ltdl.h" @@ -163,7 +163,7 @@ SQL_ConnectionPtr SQL_Driver_manager::ge throw Exception(0, library, "driver failed to initialize client library '%s', %s", - dlopen_file_spec_cstr?dlopen_file_spec_cstr:"unspecifed", + dlopen_file_spec_cstr?dlopen_file_spec_cstr.get():"unspecifed", error); // cache it @@ -218,7 +218,7 @@ SQL_ConnectionPtr SQL_Driver_manager::ge return result; } - return 0; + return SQL_ConnectionPtr(0); } void SQL_Driver_manager::put_connection_to_cache(