summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-14 19:20:31 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-14 19:20:31 +0000
commit7fefe84b2eba1db91d0f3a80580705e0ed591014 (patch)
tree769edb4edc554bb75ac5c4269039ab2137ccc20f
parent3ff9d9f574c7b079fc37650fee2562256d33e022 (diff)
downloadsemanticscuttle-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
-rw-r--r--src/SemanticScuttle/db/mysqli.php2
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());
}
//