[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH v2 36/41] cs-bisection-step: Use db_prepare a few times instead of ->do
With $dbh_tests->do(...), we can only get a debug trace of the queries by using DBI_TRACE which produces voluminous output. Using our own db_prepare invokes our own debugging. No functional change. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- v2: New patch. --- cs-bisection-step | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cs-bisection-step b/cs-bisection-step index ba0c6424..1c165b78 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -197,7 +197,7 @@ END END }; - $dbh_tests->do(<<END, {}); + db_prepare(<<END)->execute(); CREATE TEMP TABLE tmp_build_info ( use varchar NOT NULL, name varchar NOT NULL, @@ -206,7 +206,7 @@ END ) END - $dbh_tests->do(<<END, {}, $job, $flight); + db_prepare(<<END)->execute($job, $flight); INSERT INTO tmp_build_info SELECT t.name AS use, @@ -230,7 +230,7 @@ END END) END - $dbh_tests->do(<<END, {}, $job, $flight); + db_prepare(<<END)->execute($job, $flight); INSERT INTO tmp_build_info SELECT '' AS use, -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |