Home
last modified time | relevance | path

Searched refs:db_type (Results 1 – 15 of 15) 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/manager/
D__init__.py48 db_type = boto.config.get('DB', 'db_type', 'SimpleDB')
64 db_type = boto.config.get(db_section, 'db_type', db_type)
76 if db_type == 'SimpleDB':
80 elif db_type == 'XML':
85 raise ValueError('Unknown db_type: %s' % db_type)
/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/autotest/tko/
Ddb.py632 db_type = _get_db_type()
633 db_module = __import__("autotest_lib.tko." + db_type, globals(),
634 locals(), [db_type])
635 db = getattr(db_module, db_type)(*args, **dargs)
/external/autotest/scheduler/
Dscheduler_lib.py74 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.py35 self._database.connect(db_type='django')
Dmonitor_db_unittest.py103 self._database.connect(db_type='django')
Dmonitor_db_functional_test.py358 self._database.connect(db_type='django')
/external/autotest/
Dglobal_config.ini7 db_type: mysql key