mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
std::mutex TransactionTask::_deadlockLock;
|
||||
|
||||
//- Append a raw ad-hoc query to the transaction
|
||||
void TransactionBase::Append(const char* sql)
|
||||
void TransactionBase::Append(char const* sql)
|
||||
{
|
||||
SQLElementData data;
|
||||
data.type = SQL_ELEMENT_RAW;
|
||||
@@ -46,7 +46,7 @@ void TransactionBase::Cleanup()
|
||||
if (_cleanedUp)
|
||||
return;
|
||||
|
||||
for (SQLElementData const &data : m_queries)
|
||||
for (SQLElementData const& data : m_queries)
|
||||
{
|
||||
switch (data.type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user