Diff for /parser3/src/include/pa_sql_connection.h between versions 1.17 and 1.19

version 1.17, 2001/10/29 17:35:50 version 1.19, 2001/11/05 11:46:25
Line 2 Line 2
         Parser: sql fconnection decl.          Parser: sql fconnection decl.
   
         Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
         Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)          Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)
   
         $Id$          $Id$
 */  */
Line 36  public: Line 36  public:
                 time_stamp(0) {                  time_stamp(0) {
         }          }
                   
         const String& url() { return furl; }          const String& get_url() { return furl; }
   
         void set_services(SQL_Driver_services *aservices) {          void set_services(SQL_Driver_services *aservices) {
                 time_stamp=time(0); // they started to use at this time                  time_stamp=time(0); // they started to use at this time
Line 45  public: Line 45  public:
         bool expired(time_t older_dies) {          bool expired(time_t older_dies) {
                 return time_stamp<older_dies;                  return time_stamp<older_dies;
         }          }
           time_t get_time_stamp() { return time_stamp; }
   
         void close() {          void close() {
                 SQL_driver_manager->close_connection(furl, *this);                  SQL_driver_manager->close_connection(furl, *this);

Removed from v.1.17  
changed lines
  Added in v.1.19


E-mail: