chore(DB): import pending SQL update file

Referenced commit(s): ecfeecbeee
This commit is contained in:
AzerothCoreBot
2021-05-18 11:55:26 +00:00
parent ecfeecbeee
commit 40ed3a575b
7 changed files with 153 additions and 3 deletions

View File

@@ -0,0 +1,56 @@
-- DB update 2021_05_18_00 -> 2021_05_18_01
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_05_18_00';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2021_05_18_00 2021_05_18_01 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1620835284341181100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620835284341181100');
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23789;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23789 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(23789,0,0,0,63,0,100,0,0,0,0,0,80,23789*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Smolderwing - On Just Created - Run Script"),
(23789,0,1,0,34,0,100,0,0,1,0,0,80,23789*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Smolderwing - On Reached Point 1 - Run Script");
DELETE FROM `smart_scripts` WHERE `entryorguid`=2378900 AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(2378900,9,0,0,0,0,100,0,0,0,0,0,18,770,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Flags Not Attackable & Immune To Players & Immune To NPC's"),
(2378900,9,1,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"),
(2378900,9,2,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 1"),
(2378900,9,3,0,0,0,100,0,3000,3000,0,0,69,1,0,0,0,0,0,20,186335,100,0,0,0,0,0,"On Script - Move To Closest Gameobject 'Stonemaul Banner'");
DELETE FROM `smart_scripts` WHERE `entryorguid`=2378901 AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(2378901,9,0,0,0,0,100,0,0,0,0,0,11,42433,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Smolderwing Fire Breath'"),
(2378901,9,1,0,0,0,100,0,3000,3000,0,0,19,770,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Remove Flags Not Attackable & Immune To Players & Immune To NPC's"),
(2378901,9,2,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"On Script - Start Attacking");
DELETE FROM `creature_text` WHERE `creatureid`=23789;
INSERT INTO `creature_text` (`creatureid`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
(23789, 0, 0, 'Pitiful mortal, Onyxia answers to no one!', 14, 0, 100, 0, 0, 0, 22285, 'Smolderwing'),
(23789, 1, 0, 'Your pathetic challenge has not gone unnoticed. I shall enjoy toying with you before you die.', 14, 0, 100, 0, 0, 0, 22286, 'Smolderwing');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=42425;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(17,0,42425,0,0,29,0,23789,200,0,1,0,0,"","Cannot cast Plant Stonemaul Banner if Smolderwing is in range");
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;

View File

@@ -0,0 +1,44 @@
-- DB update 2021_05_18_01 -> 2021_05_18_02
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_05_18_01';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2021_05_18_01 2021_05_18_02 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1620836710197850400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620836710197850400');
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23786;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23786 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2378600 AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(23786,0,0,0,11,0,100,0,0,0,0,0,80,2378600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Spawn - Run Script"),
(23786,0,9,0,0,0,15,0,0,0,0,0,1,1,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonemaul Spirit - In Combat - Say Line 1"),
(2378600,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Say Line 0"),
(2378600,9,1,0,0,0,100,0,2000,2000,0,0,49,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Start Attacking");
DELETE FROM `creature_text` WHERE `CreatureID`=23786;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(23786,0,0,"Me crush puny friend of dragons!",12,0,100,15,0,0,22416,0,"Stonemaul Spirit"),
(23786,0,1,"You leave Stonemaul lands now!",12,0,100,15,0,0,22417,0,"Stonemaul Spirit"),
(23786,0,2,"Why you wake ghost? Where other Stonemauls?!",12,0,100,15,0,0,22418,0,"Stonemaul Spirit"),
(23786,1,0,"Raaar!!! Me smash $r!",12,0,100,0,0,0,1925,0,"Stonemaul Spirit"),
(23786,1,1,"Me smash! You die!",12,0,100,0,0,0,1926,0,"Stonemaul Spirit"),
(23786,1,2,"I'll crush you!",12,0,100,0,0,0,1927,0,"Stonemaul Spirit");
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;

View File

@@ -0,0 +1,28 @@
-- DB update 2021_05_18_02 -> 2021_05_18_03
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_05_18_02';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2021_05_18_02 2021_05_18_03 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1620842884434937800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620842884434937800');
DELETE FROM `creature_loot_template` WHERE `Item` = 7146 AND `Entry` IN (4291,4299,4540);
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;

View File

@@ -0,0 +1,63 @@
-- DB update 2021_05_18_03 -> 2021_05_18_04
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_05_18_03';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2021_05_18_03 2021_05_18_04 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1620888636790704800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620888636790704800');
UPDATE `creature_template_addon` SET `auras`='' WHERE `entry` = 21506;
DELETE FROM `creature_addon` WHERE `guid` = 75420;
UPDATE `creature_template` SET `unit_flags`=32768 WHERE `entry` = 21506;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21503);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21503, 0, 0, 1, 25, 0, 100, 0, 0, 0, 0, 0, 28, 37833, 0, 0, 0, 0, 0, 19, 21506, 0, 0, 0, 0, 0, 0, 'Sunfury Warlock - On reset - Remove aura'),
(21503, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 38722, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sunfury Warlock - On reset - Cast Channel'),
(21503, 0, 2, 0, 0, 0, 100, 0, 5000, 8000, 10000, 16000, 11, 32707, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Sunfury Warlock - IC - Cast Incinerate'),
(21503, 0, 3, 0, 0, 0, 100, 0, 0, 3000, 3000, 3000, 11, 9613, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Sunfury Warlock - IC - Cast Shadow Bolt'),
(21503, 0, 4, 5, 38, 0, 100, 0, 1, 1, 1000, 1000, 28, 37833, 0, 0, 0, 0, 0, 19, 21506, 0, 0, 0, 0, 0, 0, 'Sunfury Warlock - On Data set - Remove aura'),
(21503, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 38722, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sunfury Warlock - On Data set - Cast Channel');
DELETE FROM `smart_scripts` WHERE `entryorguid` = 21506 AND `source_type` = 0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21506, 0, 0, 0, 23, 0, 100, 0, 38722, 1, 5000, 5000, 11, 37833, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On aura x1 - Cast ban'),
(21506, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 18, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On reset - Set unit Flag'),
(21506, 0, 2, 3, 8, 0, 100, 0, 37834, 0, 0, 0, 19, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spell hit - Remove flag'),
(21506, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 33, 21892, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spell hit - Give Credit'),
(21506, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 28, 37833, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spell hit - Remove Aura'),
(21506, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 11, 21503, 40, 0, 0, 0, 0, 0, 'Azaloth - On Spell hit - Attack'),
(21506, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 11, 38750, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spellhit - Cast Warstomp'),
(21506, 0, 7, 8, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Spellhit - Say Text'),
(21506, 0, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 92, 0, 38722, 1, 0, 0, 0, 11, 21503, 40, 0, 0, 0, 0, 0, 'Azaloth - On Spellhit - Inturrupt cast'),
(21506, 0, 9, 0, 9, 0, 100, 0, 0, 5, 8000, 15000, 11, 40504, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - On Range - Cast Cleave'),
(21506, 0, 10, 0, 0, 0, 100, 0, 8000, 8000,8000 , 12000, 11, 11443, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - IC - Cast Cripple'),
(21506, 0, 11, 0, 0, 0, 100, 0, 5000, 10000, 12000 , 15000, 11, 38741, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Azaloth - IC - Cast Rain of Fire'),
(21506, 0, 12, 0, 25, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 11, 21503, 40, 0, 0, 0, 0, 0, 'Azaloth - On reset - Set data');
DELETE FROM `creature_text` WHERE `CreatureID`=21506;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21506,0,0,"Illidan's lapdogs! You will pay for my imprisonment with your lives!",14,0,100,0,0,0,19577,0,'Azaloth');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry` IN (37834);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 37834, 0, 0, 31, 1, 3, 21506, 0, 0, 0, 0, '', 'Requires Azaloth');
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;

View File

@@ -0,0 +1,29 @@
-- DB update 2021_05_18_04 -> 2021_05_18_05
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_05_18_04';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2021_05_18_04 2021_05_18_05 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1620908433024748200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620908433024748200');
UPDATE `quest_offer_reward` SET `RewardText` = 'Greetings young $c, I''m glad to see you ready and eager to learn about the curing of poisons.$B$BWhile most druids in the past were put through pre-planned trials, your work will involve no such thing. There has been a rash of animal poisonings in Auberdine, and the village there has been unable to cure it. To that end, a representative there has asked Moonglade for aid and we are sending you there to aid them. This is no exercise - the work you''ll do is quite real. Bear this in mind.' WHERE `ID` = 6121;
UPDATE `quest_offer_reward` SET `RewardText` = 'Greetings young $c, I''m glad to see you ready and eager to learn about the curing of poisons.$B$BWhile most druids in the past were put through pre-planned trials, your work will involve no such thing. There has been a rash of animal poisonings at the Crossroads in the Barrens, and they''re unable to bring it under control. Someone there has requested Moonglade for aid, so we are sending you there to aid them. This is no exercise - the work you''ll do is quite real. Bear this in mind.' WHERE `ID` = 6126;
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;

View File

@@ -0,0 +1,108 @@
-- DB update 2021_05_18_05 -> 2021_05_18_06
DROP PROCEDURE IF EXISTS `updateDb`;
DELIMITER //
CREATE PROCEDURE updateDb ()
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
SELECT COUNT(*) INTO @COLEXISTS
FROM information_schema.COLUMNS
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_05_18_05';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2021_05_18_05 2021_05_18_06 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1620934359248602100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1620934359248602100');
DELETE FROM `creature_loot_template` WHERE `Entry` = 1554 AND `Reference` != 11111;
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(1554,766,0,0.08,0,1,0,1,1,NULL),
(1554,767,0,0.34,0,1,0,1,1,NULL),
(1554,768,0,0.26,0,1,0,1,1,NULL),
(1554,774,0,1.16,0,1,0,1,1,NULL),
(1554,818,0,0.4,0,1,0,1,1,NULL),
(1554,1210,0,0.02,0,1,0,1,1,NULL),
(1554,1438,0,0.08,0,1,0,1,1,NULL),
(1554,2406,0,0.02,0,1,0,1,1,NULL),
(1554,2407,0,0.02,0,1,0,1,1,NULL),
(1554,2408,0,0.02,0,1,0,1,1,NULL),
(1554,2553,0,0.02,0,1,0,1,1,NULL),
(1554,2555,0,0.02,0,1,0,1,1,NULL),
(1554,2598,0,0.28,0,1,0,1,1,NULL),
(1554,2876,0,33,1,1,0,1,1,NULL),
(1554,2959,0,0.24,0,1,0,1,1,NULL),
(1554,2960,0,0.24,0,1,0,1,1,NULL),
(1554,2963,0,0.0683,0,1,0,1,1,NULL),
(1554,2964,0,0.0342,0,1,0,1,1,NULL),
(1554,2967,0,0.04,0,1,0,1,1,NULL),
(1554,2968,0,0.24,0,1,0,1,1,NULL),
(1554,3189,0,0.34,0,1,0,1,1,NULL),
(1554,3190,0,0.34,0,1,0,1,1,NULL),
(1554,3200,0,0.1025,0,1,0,1,1,NULL),
(1554,3214,0,0.18,0,1,0,1,1,NULL),
(1554,3609,0,0.2,0,1,0,1,1,NULL),
(1554,3610,0,0.02,0,1,0,1,1,NULL),
(1554,3641,0,0.2,0,1,0,1,1,NULL),
(1554,4408,0,0.02,0,1,0,1,1,NULL),
(1554,4563,0,0.28,0,1,0,1,1,NULL),
(1554,4658,0,0.14,0,1,0,1,1,NULL),
(1554,4659,0,0.18,0,1,0,1,1,NULL),
(1554,4662,0,0.18,0,1,0,1,1,NULL),
(1554,4663,0,0.24,0,1,0,1,1,NULL),
(1554,4665,0,0.0683,0,1,0,1,1,NULL),
(1554,4666,0,0.2732,0,1,0,1,1,NULL),
(1554,4677,0,0.02,0,1,0,1,1,NULL),
(1554,4865,0,20.987,0,1,0,1,1,NULL),
(1554,6271,0,0.02,0,1,0,1,1,NULL),
(1554,6293,0,17.8449,0,1,0,1,1,NULL),
(1554,6296,0,18.3402,0,1,0,1,1,NULL),
(1554,6342,0,0.02,0,1,0,1,1,NULL),
(1554,6506,0,0.0171,0,1,0,1,1,NULL),
(1554,6507,0,0.0512,0,1,0,1,1,NULL),
(1554,6508,0,0.0854,0,1,0,1,1,NULL),
(1554,6509,0,0.0342,0,1,0,1,1,NULL),
(1554,6510,0,0.0171,0,1,0,1,1,NULL),
(1554,6513,0,0.08,0,1,0,1,1,NULL),
(1554,6514,0,0.1,0,1,0,1,1,NULL),
(1554,6515,0,0.04,0,1,0,1,1,NULL),
(1554,6517,0,0.1195,0,1,0,1,1,NULL),
(1554,6518,0,0.0512,0,1,0,1,1,NULL),
(1554,6519,0,0.0342,0,1,0,1,1,NULL),
(1554,6520,0,0.1537,0,1,0,1,1,NULL),
(1554,6521,0,0.0171,0,1,0,1,1,NULL),
(1554,7073,0,20.6796,0,1,0,1,1,NULL),
(1554,7074,0,20.4747,0,1,0,1,1,NULL),
(1554,7109,0,0.1366,0,1,0,1,1,NULL),
(1554,7288,0,0.02,0,1,0,1,1,NULL),
(1554,7350,0,0.06,0,1,0,1,1,NULL),
(1554,7351,0,0.06,0,1,0,1,1,NULL),
(1554,8177,0,0.1,0,1,0,1,1,NULL),
(1554,8179,0,0.02,0,1,0,1,1,NULL),
(1554,8181,0,0.36,0,1,0,1,1,NULL),
(1554,8182,0,0.12,0,1,0,1,1,NULL),
(1554,9742,0,0.0512,0,1,0,1,1,NULL),
(1554,9743,0,0.04,0,1,0,1,1,NULL),
(1554,9744,0,0.04,0,1,0,1,1,NULL),
(1554,9745,0,0.0683,0,1,0,1,1,NULL),
(1554,9750,0,0.0342,0,1,0,1,1,NULL),
(1554,9751,0,0.0171,0,1,0,1,1,NULL),
(1554,9752,0,0.0512,0,1,0,1,1,NULL),
(1554,9754,0,0.04,0,1,0,1,1,NULL),
(1554,9758,0,0.02,0,1,0,1,1,NULL),
(1554,9760,0,0.02,0,1,0,1,1,NULL),
(1554,9761,0,0.02,0,1,0,1,1,NULL),
(1554,12223,0,40.2152,0,1,0,1,1,NULL),
(1554,15895,0,0.0854,0,1,0,1,1,NULL),
(1554,24074,24074,1,0,1,1,1,1,NULL),
(1554,24075,24075,1,0,1,1,1,1,NULL);
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;