Merge lp:~kalebral-deactivatedaccount/drizzle-automation/fix-sysbench-no-store-db into lp:drizzle-automation

Proposed by Lee Bieber
Status: Merged
Approved by: Patrick Crews
Approved revision: 227
Merged at revision: 227
Proposed branch: lp:~kalebral-deactivatedaccount/drizzle-automation/fix-sysbench-no-store-db
Merge into: lp:drizzle-automation
Diff against target: 28 lines (+4/-3)
2 files modified
drizzle/automation/lib/db.py (+1/-1)
drizzle/automation/sysbench/run.py (+3/-2)
To merge this branch: bzr merge lp:~kalebral-deactivatedaccount/drizzle-automation/fix-sysbench-no-store-db
Reviewer Review Type Date Requested Status
Patrick Crews Approve
Review via email: mp+48747@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Patrick Crews (patrick-crews) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'drizzle/automation/lib/db.py'
--- drizzle/automation/lib/db.py 2011-01-27 16:05:37 +0000
+++ drizzle/automation/lib/db.py 2011-02-07 04:11:34 +0000
@@ -163,7 +163,7 @@
163 run_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY163 run_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY
164, config_id INT NOT NULL164, config_id INT NOT NULL
165, server VARCHAR(20) NOT NULL165, server VARCHAR(20) NOT NULL
166, version VARCHAR(50) NULL166, version VARCHAR(60) NULL
167, run_date DATETIME NOT NULL167, run_date DATETIME NOT NULL
168) ENGINE=InnoDB;168) ENGINE=InnoDB;
169169
170170
=== modified file 'drizzle/automation/sysbench/run.py'
--- drizzle/automation/sysbench/run.py 2011-01-18 00:07:57 +0000
+++ drizzle/automation/sysbench/run.py 2011-02-07 04:11:34 +0000
@@ -320,8 +320,9 @@
320320
321 concurrency_levels= sysbench.getConcurrencyLevels(sysbench_config_variables, bench_config_name)321 concurrency_levels= sysbench.getConcurrencyLevels(sysbench_config_variables, bench_config_name)
322 iterations= sysbench.getIterations(sysbench_config_variables, bench_config_name)322 iterations= sysbench.getIterations(sysbench_config_variables, bench_config_name)
323 run_id= util.getNextRunId()323 if variables['no_store_db'] is False:
324 config_id= util.getConfigId(bench_config_name)324 run_id= util.getNextRunId()
325 config_id= util.getConfigId(bench_config_name)
325326
326 # Run the benchmarks for the specified config327 # Run the benchmarks for the specified config
327 for concurrency in concurrency_levels:328 for concurrency in concurrency_levels:

Subscribers

People subscribed via source and target branches

to all changes: