Home
last modified time | relevance | path

Searched refs:db_type (Results 1 – 16 of 16) sorted by relevance

/external/autotest/database/
Ddatabase_connection.py210 def _read_options(self, db_type=None, host=None, username=None, argument
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): argument
236 if db_type not in _BACKEND_MAP:
238 (db_type, ', '.join(_BACKEND_MAP.keys())))
239 backend_class = _BACKEND_MAP[db_type]
275 def connect(self, db_type=None, host=None, username=None, password=None, argument
283 self._read_options(db_type, host, username, password, db_name)
285 self._backend = self._get_backend(self.db_type)
[all …]
Ddatabase_connection_unittest.py46 def get_fake_backend(db_type): argument
47 self._db_type = db_type
68 db.connect(db_type=_DB_TYPE, host=_HOST, username=_USER,
/external/autotest/client/tests/dbt2/
Ddbt2.py45 def execute(self, db_type, args = ''): argument
48 if (db_type == "mysql"):
50 elif (db_type == "pgpool"):
52 elif (db_type == "pgsql"):
Dcontrol12 job.run_test('dbt2', db_type='pgsql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgsql"', tag=…
13 job.run_test('dbt2', db_type='pgpool', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest pgpool"', ta…
14 job.run_test('dbt2', db_type='mysql', args='-w 1 -c 20 -d 1800 -s 100 -n -z "autotest mysql"', tag=…
/external/autotest/client/tests/sysbench/
Dcontrol17 job.run_test('sysbench', db_type='pgsql', build=build, \
23 job.run_test('sysbench', db_type='mysql', build=build, \
Dsysbench.py31 def run_once(self, db_type = 'pgsql', build = 1, \ argument
52 if (db_type == 'pgsql'):
54 elif (db_type == 'mysql'):
/external/python/cpython2/Modules/
Dbsddb.h283 PyTypeObject* db_type; member
303 #define DBObject_Check(v) ((v)->ob_type == bsddb_api->db_type)
D_bsddb.c10274 bsddb_api.db_type = &DB_Type; in init_bsddb()
/external/autotest/tko/
Ddb.py764 db_type = _get_db_type()
765 db_module = __import__("autotest_lib.tko." + db_type, globals(),
766 locals(), [db_type])
767 db = getattr(db_module, db_type)(*args, **dargs)
/external/autotest/scheduler/
Dscheduler_lib.py85 db.connect(db_type='django')
Dmonitor_db_cleanup_test.py17 self._database.connect(db_type='django')
Drdb_testing_utils.py69 self.database.connect(db_type='django')
Dscheduler_models_unittest.py36 self._database.connect(db_type='django')
Dmonitor_db_unittest.py108 self._database.connect(db_type='django')
Dmonitor_db_functional_test.py345 self._database.connect(db_type='django')
/external/autotest/
Dglobal_config.ini7 db_type: mysql key