TrinityCore
HotfixDatabase.cpp File Reference
+ Include dependency graph for HotfixDatabase.cpp:

Go to the source code of this file.

Macros

#define PREPARE_MAX_ID_STMT(stmtBase, sql, con)
 
#define PREPARE_LOCALE_STMT(stmtBase, sql, con)
 

Macro Definition Documentation

◆ PREPARE_LOCALE_STMT

#define PREPARE_LOCALE_STMT (   stmtBase,
  sql,
  con 
)
Value:
static_assert((stmtBase) + HOTFIX_LOCALE_STMT_OFFSET == stmtBase##_LOCALE, "Invalid prepared statement index for " #stmtBase "_LOCALE"); \
PrepareStatement(stmtBase##_LOCALE, sql, con)
uint32 constexpr HOTFIX_LOCALE_STMT_OFFSET

Definition at line 30 of file HotfixDatabase.cpp.

◆ PREPARE_MAX_ID_STMT

#define PREPARE_MAX_ID_STMT (   stmtBase,
  sql,
  con 
)
Value:
static_assert((stmtBase) + HOTFIX_MAX_ID_STMT_OFFSET == stmtBase##_MAX_ID, "Invalid prepared statement index for " #stmtBase "_MAX_ID"); \
PrepareStatement(stmtBase##_MAX_ID, sql, con)
uint32 constexpr HOTFIX_MAX_ID_STMT_OFFSET

Definition at line 25 of file HotfixDatabase.cpp.