projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
415b512
)
fix error handling
author
Andreas Unterkircher
<unki@netshadow.at>
Wed, 6 Jun 2007 20:35:15 +0000
(20:35 +0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Wed, 6 Jun 2007 20:35:15 +0000
(20:35 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@30
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot_db.php
patch
|
blob
|
history
diff --git
a/phpfspot_db.php
b/phpfspot_db.php
index 96648be65cd09318180d2515d64bb13b18f2b247..6c86563ed962ca8b813aae3ff3b1bdb4a42048a4 100644
(file)
--- a/
phpfspot_db.php
+++ b/
phpfspot_db.php
@@
-101,7
+101,7
@@
class PHPFSPOT_DB {
if($this->getConnStatus()) {
if(($result = sqlite3_query($this->db, $query)) === false)
- $this->
t
rowError($this->getLastError());
+ $this->
Th
rowError($this->getLastError());
return $result;
}
@@
-237,8
+237,7
@@
class PHPFSPOT_DB {
private function getLastError()
{
-
- return sqlite3_error_string(sqlite3_last_error($this->db));
+ return sqlite3_error($this->db);
} // getLastError()