Logo Search packages:      
Sourcecode: zope-mysqlda version File versions  Download package

def zope-mysqlda-3.0~beta1::db::DBPool::closeConnection (   self  ) 

Close this threads connection. Used when DA is being reused
    but the connection string has changed. Need to close the DB
    instances and recreate to the new database. Only have to worry
    about this thread as when each thread hits the new connection
    string in the DA this method will be called.

Definition at line 244 of file db.py.

00244                              :
        """ Close this threads connection. Used when DA is being reused
            but the connection string has changed. Need to close the DB
            instances and recreate to the new database. Only have to worry
            about this thread as when each thread hits the new connection
            string in the DA this method will be called.
        """
        ident = get_ident()
        try:
            self._pool_del(ident)
        except KeyError:
            pass

    def close(self):


Generated by  Doxygen 1.6.0   Back to index