server/sqlutils.py
changeset 6379 3f67f7ea5632
parent 6333 e3994fcc21c3
child 7083 b8e35cde46e9
equal deleted inserted replaced
6378:5a86a0c147bd 6379:3f67f7ea5632
   163         # copy back some commonly accessed attributes
   163         # copy back some commonly accessed attributes
   164         dbapi_module = self.dbhelper.dbapi_module
   164         dbapi_module = self.dbhelper.dbapi_module
   165         self.OperationalError = dbapi_module.OperationalError
   165         self.OperationalError = dbapi_module.OperationalError
   166         self.InterfaceError = dbapi_module.InterfaceError
   166         self.InterfaceError = dbapi_module.InterfaceError
   167         self.DbapiError = dbapi_module.Error
   167         self.DbapiError = dbapi_module.Error
   168         self._binary = dbapi_module.Binary
   168         self._binary = self.dbhelper.binary_value
   169         self._process_value = dbapi_module.process_value
   169         self._process_value = dbapi_module.process_value
   170         self._dbencoding = dbencoding
   170         self._dbencoding = dbencoding
   171 
   171 
   172     def get_connection(self):
   172     def get_connection(self):
   173         """open and return a connection to the database"""
   173         """open and return a connection to the database"""