moved GetDatabaseName under public to be used on API
This commit is contained in:
@@ -465,6 +465,11 @@ class DatabaseWorkerPool
|
|||||||
Enqueue(new PingOperation);
|
Enqueue(new PingOperation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char const* GetDatabaseName() const
|
||||||
|
{
|
||||||
|
return _connectionInfo.database.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
unsigned long EscapeString(char *to, const char *from, unsigned long length)
|
unsigned long EscapeString(char *to, const char *from, unsigned long length)
|
||||||
{
|
{
|
||||||
@@ -498,11 +503,6 @@ class DatabaseWorkerPool
|
|||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
char const* GetDatabaseName() const
|
|
||||||
{
|
|
||||||
return _connectionInfo.database.c_str();
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum _internalIndex
|
enum _internalIndex
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user