Skip to content
Snippets Groups Projects
Commit 4d04fe56 authored by hahn's avatar hahn
Browse files

ci server - valuestore: add cleanup method; fix typo in vacuum

parent bf7ee1e3
No related branches found
No related tags found
No related merge requests found
......@@ -148,6 +148,9 @@ class valuestore {
} else {
$result = $this->_oDB->query($sSql);
}
if(!$result){
$this->log('<pre>'.print_r($this->_oDB->errorInfo()).'</pre>', 'error');
}
$this->log("end query - ".$sSql);
return $result;
}
......@@ -459,11 +462,10 @@ class valuestore {
. ($this->sPhase ? "AND phase='" . $this->sPhase . "' " : "")
. ($this->sPlace ? "AND place='" . $this->sPlace . "' " : "")
. ($this->sHost ? "AND host='" . $this->sHost . "' " : "")
. ($sVariable ? "AND variable='" . $sVariable . "' " : "")
;
// die("$iTtl ... $sSql ... ABORT");
$this->_makeQuery($sSql);
$this->_makeQuery("vaccum;");
$this->_makeQuery("vacuum;");
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment