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)
This commit is contained in:
1 parent
293d51c8b0
commit
0b82bc2d0d
22 files changed
+54
-40
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user