Home
last modified time | relevance | path

Searched refs:db_type (Results 1 – 9 of 9) 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.c10298 bsddb_api.db_type = &DB_Type; in init_bsddb()
/external/autotest/
Dglobal_config.ini4 db_type: mysql key