summaryrefslogtreecommitdiff
path: root/lib/SQL.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SQL.cc')
-rw-r--r--lib/SQL.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/SQL.cc b/lib/SQL.cc
index e8dcde0..484d2e3 100644
--- a/lib/SQL.cc
+++ b/lib/SQL.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: SQL.cc,v 1.12 2007-05-30 11:57:10 pixel Exp $ */
+/* $Id: SQL.cc,v 1.13 2007-05-30 14:02:28 pixel Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -115,9 +115,9 @@ int SQLConnection::insertid() {
return ii;
}
-//int SQLConnection::errno() {
-// return mysql_errno(&con);
-//}
+int SQLConnection::errno() {
+ return mysql_errno(&con);
+}
String SQLConnection::error() {
return mysql_error(&con);