diff options
Diffstat (limited to 'lib/SQL.cc')
-rw-r--r-- | lib/SQL.cc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,6 +3,9 @@ #endif #ifdef HAVE_MYSQL +#ifdef _WIN32 +#include <winsock.h> +#endif #include "SQL.h" @@ -91,9 +94,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); |