diff options
| author | 2019-11-13 16:20:18 +0000 | |
|---|---|---|
| committer | 2019-11-13 16:20:34 +0000 | |
| commit | b2c876c5779f044b110786b9860b9c8a6ea8464a (patch) | |
| tree | c184ce9d87dd5da9cb6247e8495ac792e78425f4 /src/modules/extra/m_mysql.cpp | |
| parent | Improve the logic around connecting to a MySQL server. (diff) | |
| download | inspircd++-b2c876c5779f044b110786b9860b9c8a6ea8464a.tar.gz inspircd++-b2c876c5779f044b110786b9860b9c8a6ea8464a.tar.bz2 inspircd++-b2c876c5779f044b110786b9860b9c8a6ea8464a.zip | |
Get rid of some dead code in the MySQL module.
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
| -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); |
