From b2c876c5779f044b110786b9860b9c8a6ea8464a Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 13 Nov 2019 16:20:18 +0000 Subject: Get rid of some dead code in the MySQL module. --- src/modules/extra/m_mysql.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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); -- cgit v1.2.3