TrilliumEMU/TrilliumEMU — comment on commit 819e6f6e8663b1b88032458b2c5dc5fcd5cd2ca4
File: src/server/game/Entities/Pet/Pet.cpp line 417
By SergeWinters:

trans->PAppend("DELETE FROM character_pet WHERE owner = '%u' AND (slot = '%u' OR slot > '%u')",
Is before so replace is useless.. i do it anyway but is acting like INSERT there is nothing to replace...