mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-15 14:50:44 -08:00
moved GetDatabaseName under public to be used on API
This commit is contained in:
parent
1fb45c44ac
commit
de714fdae7
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue