mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
This commit adds a missing composite index on the `playerbots_random_bots` table (`owner`, `bot`, `event`) to improve database performance during high playerbot activity. Adding this index significantly reduces the occurrence of deadlocks when multiple threads access the random bots table simultaneously. The change is 100% backward-compatible and does not affect existing data or functionality.