diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index fe9bb4cec..3b9bde4de 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -138,10 +138,6 @@ class DispatcherThread : public SocketThread void OnNotify() CXX11_OVERRIDE; }; -#if !defined(MYSQL_VERSION_ID) || MYSQL_VERSION_ID<32224 -#define mysql_field_count mysql_num_fields -#endif - /** Represents a mysql result set */ class MySQLresult : public SQL::Result @@ -372,11 +368,6 @@ class SQLConnection : public SQL::Provider return true; } - std::string GetError() - { - return mysql_error(connection); - } - void Close() { mysql_close(connection); |