Diff for /parser3/src/include/pa_sql_connection.h between versions 1.7 and 1.8

version 1.7, 2001/05/17 10:22:24 version 1.8, 2001/05/17 12:51:05
Line 27  public: Line 27  public:
   
         SQL_Connection(Pool& pool,          SQL_Connection(Pool& pool,
                 const String& aurl,                   const String& aurl, 
                 SQL_Driver& adriver, SQL_Driver_services& services,                   SQL_Driver& adriver,
                 char *used_only_in_constructor_url_cstr) : Pooled(pool),                  char *used_only_in_constructor_url_cstr) : Pooled(pool),
                 furl(aurl),                  furl(aurl),
                 fdriver(adriver) {                  fdriver(adriver) {
   
                 set_services(&services); // associate with services[request]  
                 fdriver.connect(used_only_in_constructor_url_cstr, &connection);                  fdriver.connect(used_only_in_constructor_url_cstr, &connection);
         }          }
   
         void close() {          void close(Pool& pool) {
                 set_services(0); // deassociate from services[request]                  SQL_driver_manager->close_connection(furl, *this, pool);
                 SQL_driver_manager->close_connection(furl, *this);  
         }          }
   
         void disconnect() { fdriver.disconnect(connection); }          void disconnect() { fdriver.disconnect(connection); }

Removed from v.1.7  
changed lines
  Added in v.1.8


E-mail: