Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DatabaseEnv.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef DATABASEENV_H
7#define DATABASEENV_H
8
9#include "Common.h"
10#include "Errors.h"
11#include "Log.h"
12
13#include "Field.h"
14#include "QueryResult.h"
15
16#include "MySQLThreading.h"
17#include "Transaction.h"
18
19#define _LIKE_ "LIKE"
20#define _TABLE_SIM_ "`"
21#define _CONCAT3_(A, B, C) "CONCAT( " A ", " B ", " C " )"
22#define _OFFSET_ "LIMIT %d, 1"
23
27
31
32#endif
33
DatabaseWorkerPool< CharacterDatabaseConnection > CharacterDatabaseWorkerPool
DatabaseWorkerPool< LoginDatabaseConnection > LoginDatabaseWorkerPool
DatabaseWorkerPool< WorldDatabaseConnection > WorldDatabaseWorkerPool
CharacterDatabaseWorkerPool CharacterDatabase
Accessor to the character database.
Definition Main.cpp:41
WorldDatabaseWorkerPool WorldDatabase
Accessor to the world database.
Definition Main.cpp:40
LoginDatabaseWorkerPool LoginDatabase
Definition Main.cpp:54