--- parser3/src/classes/op.C 2003/11/20 17:07:44 1.140 +++ parser3/src/classes/op.C 2003/12/11 09:25:50 1.142 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_OP_C="$Date: 2003/11/20 17:07:44 $"; +static const char * const IDENT_OP_C="$Date: 2003/12/11 09:25:50 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -283,7 +283,7 @@ struct timeval mt[2]; gettimeofday(&mt[0],NULL); #endif // connect - SQL_Connection* connection=SQL_driver_manager.get_connection(url.as_string(), + SQL_Connection* connection=SQL_driver_manager->get_connection(url.as_string(), protocol2driver_and_client); #ifdef RESOURCES_DEBUG @@ -609,7 +609,7 @@ static void _cache(Request& r, MethodPar // file_spec, expires, body code const String& file_spec=r.absolute(params.as_string(0, "filespec must be string")); - Cache_scope scope={as_expires(r, params, 1, now)}; + Cache_scope scope={as_expires(r, params, 1, now), 0}; Temp_hash_value cache_scope_setter(r.classes_conf, cache_data_name, &scope);