Core/DBLayer: Convert PAppend() queries to prepared statements No.2
This commit is contained in:
@@ -648,7 +648,6 @@ void WorldSession::HandlePetRename(WorldPacket & recv_data)
|
||||
if (isdeclined)
|
||||
{
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_CHAR_PET_DECLINEDNAME);
|
||||
stmt->setUInt32(0, _player->GetGUIDLow());
|
||||
stmt->setUInt32(0, pet->GetCharmInfo()->GetPetNumber());
|
||||
trans->Append(stmt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user