summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-11-13 16:20:18 +0000
committerPeter Powell <petpow@saberuk.com>2019-11-13 16:20:34 +0000
commitb2c876c5779f044b110786b9860b9c8a6ea8464a (patch)
treec184ce9d87dd5da9cb6247e8495ac792e78425f4 /src/modules/extra
parentdb45e2e69c1a68bf93e2c70d2a301d4ff09bc4b6 (diff)
Get rid of some dead code in the MySQL module.
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_mysql.cpp9
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);