]> xenbits.xensource.com Git - osstest.git/commitdiff
Executive: support OSSTEST_TCL_JOBDB_DEBUG - fix
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 14 Feb 2013 14:31:48 +0000 (14:31 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 14 Feb 2013 14:31:48 +0000 (14:31 +0000)
tcl/JobDB-Executive.tcl

index 23fd5848aec95fdcf5b9e2e1792a4a8576f4eac6..611e95484804860869c3ec227d494047f7964aca 100644 (file)
@@ -123,11 +123,11 @@ proc db-execute-debug {stmt} {
 }
 proc db-execute {stmt} {
     db-execute-debug $stmt
-    uplevel 1 pg_execute dbh $stmt
+    uplevel 1 [list pg_execute dbh $stmt]
 }
 proc db-execute-array {stmt arrayvar} {
     db-execute-debug $stmt
-    uplevel 1 pg_execute -array $arrayvar dbh $stmt
+    uplevel 1 [list pg_execute -array $arrayvar dbh $stmt]
 }
 
 proc lock-tables {tables} {