diff --git a/public_html/valuestore/classes/valuestore.class.php b/public_html/valuestore/classes/valuestore.class.php index 65d028ac41b59afcb6ab2c76c378583511b9eca5..8d25fceee512787187132c71dc330b19abe0b53c 100644 --- a/public_html/valuestore/classes/valuestore.class.php +++ b/public_html/valuestore/classes/valuestore.class.php @@ -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; }