--- parser3/src/include/pa_request.h 2001/11/19 12:17:05 1.111 +++ parser3/src/include/pa_request.h 2001/12/15 21:28:19 1.115 @@ -4,13 +4,12 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_request.h,v 1.111 2001/11/19 12:17:05 paf Exp $ + $Id: pa_request.h,v 1.115 2001/12/15 21:28:19 paf Exp $ */ #ifndef PA_REQUEST_H #define PA_REQUEST_H -#include "pa_config_includes.h" #include "pa_pool.h" #include "pa_hash.h" #include "pa_wcontext.h" @@ -27,6 +26,10 @@ #include "pa_vcookie.h" #include "pa_sql_driver_manager.h" +#ifdef RESOURCES_DEBUG +#include +#endif + #ifndef NO_STRING_ORIGIN # define COMPILE_PARAMS \ const char *source, \ @@ -52,6 +55,12 @@ class Request : public Pooled { friend class Temp_lang; public: +#ifdef RESOURCES_DEBUG + /// measures + double sql_connect_time; + double sql_request_time; +#endif + /// some information from web server class Info { public: @@ -148,9 +157,6 @@ public: /// returns the mime type of 'user_file_name_cstr' const String& mime_type_of(const char *user_file_name_cstr); - /// PCRE character tables - const unsigned char *pcre_tables(); - public: /// info from web server @@ -205,9 +211,6 @@ private: // core data */ uint anti_endless_execute_recoursion; - /// charset->pcre_tables - Hash CTYPE; - /// stack trace Stack trace;