/external/autotest/client/tests/dbt2/ |
dbt2.py | 45 def execute(self, db_type, args = ''): 48 if (db_type == "mysql"): 50 elif (db_type == "pgpool"): 52 elif (db_type == "pgsql"):
|
/external/autotest/database/ |
database_connection.py | 161 _DATABASE_ATTRIBUTES = ('db_type', 'host', 'username', 'password', 210 def _read_options(self, db_type=None, host=None, username=None, 218 @param db_type: database type, default to None. 225 use_afe_setting = not bool(db_type or host or username or password) 229 self.db_type = self._get_option('db_type', db_type, use_afe_setting) 235 def _get_backend(self, db_type): 236 if db_type not in _BACKEND_MAP: 238 (db_type, ', '.join(_BACKEND_MAP.keys())) [all...] |
database_connection_unittest.py | 46 def get_fake_backend(db_type): 47 self._db_type = db_type 61 c.override_config_value(_CONFIG_SECTION, 'db_type', _DB_TYPE) 68 db.connect(db_type=_DB_TYPE, host=_HOST, username=_USER,
|
/external/python/cpython2/Modules/ |
bsddb.h | 283 PyTypeObject* db_type; member in struct:__anon36693 303 #define DBObject_Check(v) ((v)->ob_type == bsddb_api->db_type)
|
_bsddb.c | 227 staticforward PyTypeObject DB_Type, DBCursor_Type, DBEnv_Type, DBTxn_Type, 239 #define DBObject_Check(v) (Py_TYPE(v) == &DB_Type) 902 self = PyObject_New(DBObject, &DB_Type); [all...] |
/external/autotest/client/tests/sysbench/ |
sysbench.py | 31 def run_once(self, db_type = 'pgsql', build = 1, \ 52 if (db_type == 'pgsql'): 54 elif (db_type == 'mysql'):
|
/external/autotest/scheduler/ |
monitor_db_cleanup_test.py | 17 self._database.connect(db_type='django')
|
scheduler_lib.py | 85 db.connect(db_type='django')
|
rdb_testing_utils.py | 69 self.database.connect(db_type='django')
|
scheduler_models_unittest.py | 35 self._database.connect(db_type='django')
|
monitor_db_unittest.py | 109 self._database.connect(db_type='django') [all...] |
monitor_db_functional_test.py | 347 self._database.connect(db_type='django') [all...] |