Message ID | 1452195496-16016-2-git-send-email-ian.jackson@eu.citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tcl/JobDB-Executive.tcl b/tcl/JobDB-Executive.tcl index 7dba497..239f22c 100644 --- a/tcl/JobDB-Executive.tcl +++ b/tcl/JobDB-Executive.tcl @@ -116,6 +116,7 @@ proc db-update-1 {stmt} { } proc db-execute-debug {stmt} { + global env if {[var-or-default env(OSSTEST_TCL_JOBDB_DEBUG) 0]} { puts stderr "EXECUTING >$stmt<" }
Setting OSSTEST_TCL_JOBDB_DEBUG was ineffective (ever since it was introduced in 44dad3d8) because `env' wasn't imported from the global scope. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> --- tcl/JobDB-Executive.tcl | 1 + 1 file changed, 1 insertion(+)