Permalink
Browse files

Fixed Truncated incorrect DOUBLE value error

When I attempt to run this SQL script, the statement on line 62 would fail. Adding quotes solved the issue, and the sql script now runs successfully on MySQL Server (5.7.24-0ubuntu0.18.04.1). I tested the changes with getmangos.sh, and now completes successfully on the database phase.
  • Loading branch information...
Cypher100 authored and billy1arm committed Jan 12, 2019
1 parent 2567fdc commit 4d0344a3e5e8bed4b536441cbc3599d7f77e616c
Showing with 1 addition and 1 deletion.
  1. +1 −1 World/Updates/Rel21/Rel21_09_029_Nightlash_Summon_Support..sql
@@ -59,7 +59,7 @@ BEGIN

SET @summonid := (SELECT MAX(id) FROM `creature_ai_summons`);
-- Remove current Nightlash placeholder.
DELETE FROM `creature_ai_summons` WHERE `comment` = 1983;
DELETE FROM `creature_ai_summons` WHERE `comment` = '1983';
-- Added script summon location.
INSERT INTO `creature_ai_summons` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `comment`) VALUES(@summonid+1,1073.84,1543.37,28.6752,0.174533,300000,1983);
-- Added 10% chance to summon Nightlash.

0 comments on commit 4d0344a

Please sign in to comment.