aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/MySQLConnection.h
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2016-03-11 15:57:26 +0100
committerNaios <naios-dev@live.de>2016-03-24 02:46:01 +0100
commit205556b22670f136ff21aa5edbddef4d705e5709 (patch)
tree80413d3d1775ca5ca96dd4e7f2c1ce45807c53a6 /src/server/database/Database/MySQLConnection.h
parent1a1c0d1dc4b5476bd438585e8b16466101ad509a (diff)
Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database. (cherry picked from commit 6cfea2d8f7de3de8206a1f4cf23a6d653814afe1)
Diffstat (limited to 'src/server/database/Database/MySQLConnection.h')
-rw-r--r--src/server/database/Database/MySQLConnection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/database/Database/MySQLConnection.h b/src/server/database/Database/MySQLConnection.h
index a0b908593df..566995988c0 100644
--- a/src/server/database/Database/MySQLConnection.h
+++ b/src/server/database/Database/MySQLConnection.h
@@ -35,7 +35,7 @@ enum ConnectionFlags
CONNECTION_BOTH = CONNECTION_ASYNC | CONNECTION_SYNCH
};
-struct MySQLConnectionInfo
+struct TC_DATABASE_API MySQLConnectionInfo
{
explicit MySQLConnectionInfo(std::string const& infoString)
{
@@ -62,7 +62,7 @@ struct MySQLConnectionInfo
typedef std::map<uint32 /*index*/, std::pair<std::string /*query*/, ConnectionFlags /*sync/async*/> > PreparedStatementMap;
-class MySQLConnection
+class TC_DATABASE_API MySQLConnection
{
template <class T> friend class DatabaseWorkerPool;
friend class PingOperation;