mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
moved GetDatabaseName under public to be used on API
This commit is contained in:
@@ -465,6 +465,11 @@ class DatabaseWorkerPool
|
||||
Enqueue(new PingOperation);
|
||||
}
|
||||
|
||||
char const* GetDatabaseName() const
|
||||
{
|
||||
return _connectionInfo.database.c_str();
|
||||
}
|
||||
|
||||
private:
|
||||
unsigned long EscapeString(char *to, const char *from, unsigned long length)
|
||||
{
|
||||
@@ -498,11 +503,6 @@ class DatabaseWorkerPool
|
||||
return t;
|
||||
}
|
||||
|
||||
char const* GetDatabaseName() const
|
||||
{
|
||||
return _connectionInfo.database.c_str();
|
||||
}
|
||||
|
||||
private:
|
||||
enum _internalIndex
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user