Diff for /parser3/src/include/pa_sql_driver_manager.h between versions 1.32 and 1.37

version 1.32, 2004/02/11 15:33:14 version 1.37, 2013/07/05 21:09:57
Line 2 Line 2
         Parser: sql driver manager decl.          Parser: sql driver manager decl.
         global sql driver manager, must be thread-safe          global sql driver manager, must be thread-safe
   
         Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 #ifndef PA_SQL_DRIVER_MANAGER_H  #ifndef PA_SQL_DRIVER_MANAGER_H
 #define PA_SQL_DRIVER_MANAGER_H  #define PA_SQL_DRIVER_MANAGER_H
   
 static const char * const IDENT_SQL_DRIVER_MANAGER_H="$Date$";  #define IDENT_PA_SQL_DRIVER_MANAGER_H "$Id$"
   
   
 #include "pa_sql_driver.h"  #include "pa_sql_driver.h"
Line 32  class SQL_Connection; Line 32  class SQL_Connection;
 class SQL_Driver_manager: public Cache_manager {  class SQL_Driver_manager: public Cache_manager {
 public:  public:
   
         typedef Hash<const String::Body, SQL_Driver *> driver_cache_type;          typedef HashString<SQL_Driver *> driver_cache_type;
         typedef Stack<SQL_Connection*> connection_cache_element_base_type;          typedef Stack<SQL_Connection*> connection_cache_element_base_type;
         typedef Hash<const String::Body, connection_cache_element_base_type*> connection_cache_type;          typedef HashString<connection_cache_element_base_type*> connection_cache_type;
   
 private:  private:
                   
         friend class SQL_Connection;          friend class SQL_Connection;
   
         bool is_dlinited;  
         driver_cache_type driver_cache;          driver_cache_type driver_cache;
         connection_cache_type connection_cache;          connection_cache_type connection_cache;
   
Line 56  public: Line 55  public:
         */          */
         SQL_Connection* get_connection(const String& aurl,           SQL_Connection* get_connection(const String& aurl, 
                 Table *protocol2driver_and_client,                  Table *protocol2driver_and_client,
                 const char* arequest_charset);                  const char* arequest_charset,
                   const char* adocument_root);
   
 private: // driver cache  private: // driver cache
   

Removed from v.1.32  
changed lines
  Added in v.1.37


E-mail: