--- parser3/src/main/pa_stylesheet_manager.C 2001/11/05 10:42:59 1.3 +++ parser3/src/main/pa_stylesheet_manager.C 2001/11/05 11:46:29 1.4 @@ -2,9 +2,9 @@ Parser: sql driver manager implementation. Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_stylesheet_manager.C,v 1.3 2001/11/05 10:42:59 paf Exp $ + $Id: pa_stylesheet_manager.C,v 1.4 2001/11/05 11:46:29 paf Exp $ */ #include "pa_config_includes.h" #ifdef XML @@ -133,9 +133,11 @@ static void add_connection_to_status_cac if(connection.connected()) { Pool& pool=table.pool(); - Array& row=*new(pool) Array(pool, 3); + Array& row=*new(pool) Array(pool); + // file row+=&connection.file_spec(); + // time time_t time_stamp=connection.get_time_used(); const char *unsafe_time_cstr=ctime(&time_stamp); int time_buf_size=strlen(unsafe_time_cstr); @@ -158,7 +160,7 @@ Value& Stylesheet_manager::get_status(Po // cache { - Array& columns=*new(pool) Array(pool, 3); + Array& columns=*new(pool) Array(pool); columns+=new(pool) String(pool, "file"); columns+=new(pool) String(pool, "time"); Table& table=*new(pool) Table(pool, 0, &columns, connection_cache.size());