if($this->getConnStatus()) {
if(($result = sqlite3_query($this->db, $query)) === false)
- $this->trowError($this->getLastError());
+ $this->ThrowError($this->getLastError());
return $result;
}
private function getLastError()
{
-
- return sqlite3_error_string(sqlite3_last_error($this->db));
+ return sqlite3_error($this->db);
} // getLastError()