diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-09-14 19:20:31 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-09-14 19:20:31 +0000 |
commit | 7fefe84b2eba1db91d0f3a80580705e0ed591014 (patch) | |
tree | 769edb4edc554bb75ac5c4269039ab2137ccc20f /src/SemanticScuttle | |
parent | 3ff9d9f574c7b079fc37650fee2562256d33e022 (diff) | |
download | semanticscuttle-7fefe84b2eba1db91d0f3a80580705e0ed591014.tar.gz semanticscuttle-7fefe84b2eba1db91d0f3a80580705e0ed591014.tar.bz2 |
allow debugging of connection errors
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@734 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle')
-rw-r--r-- | src/SemanticScuttle/db/mysqli.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/db/mysqli.php b/src/SemanticScuttle/db/mysqli.php index 03b36ea..9a2709a 100644 --- a/src/SemanticScuttle/db/mysqli.php +++ b/src/SemanticScuttle/db/mysqli.php @@ -50,7 +50,7 @@ class sql_db } } - return $this->sql_error(''); + return $this->sql_error(mysqli_connect_error()); } // |