--- parser3/src/classes/table.C 2001/12/04 17:36:25 1.133.2.2 +++ parser3/src/classes/table.C 2001/11/23 12:56:37 1.134 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: table.C,v 1.133.2.2 2001/12/04 17:36:25 paf Exp $ + $Id: table.C,v 1.134 2001/11/23 12:56:37 paf Exp $ */ #include "classes.h" @@ -550,22 +550,9 @@ static void _sql(Request& r, const Strin Table_sql_event_handlers handlers(pool, method_name, statement_string, statement_cstr); try { - struct timeval mt[2]; - //measure:before - gettimeofday(&mt[0],NULL); - r.connection->query( statement_cstr, offset, limit, handlers); - //measure:after connect - gettimeofday(&mt[1],NULL); - - double t[2]; - for(int i=0;i<2;i++) - t[i]=mt[i].tv_sec+mt[i].tv_usec/1000000.0; - - r.sql_request_time+=t[1]-t[0]; - } catch(const Exception& e) { // query problem // more specific source [were url] throw Exception(e.type(), e.code(),