mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
Import pending SQLs
This commit is contained in:
73086
data/sql/updates/db_world/2016_11_06_00.sql
Normal file
73086
data/sql/updates/db_world/2016_11_06_00.sql
Normal file
File diff suppressed because it is too large
Load Diff
73090
data/sql/updates/db_world/2016_11_06_01.sql
Normal file
73090
data/sql/updates/db_world/2016_11_06_01.sql
Normal file
File diff suppressed because one or more lines are too long
25
data/sql/updates/db_world/2016_11_06_02.sql
Normal file
25
data/sql/updates/db_world/2016_11_06_02.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- DB update 2016_11_06_01 -> 2016_11_06_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2016_11_06_01 2016_11_06_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1478458446109383200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
INSERT INTO version_db_world(`sql_rev`) VALUES ('1478458446109383200');
|
||||
|
||||
DELETE FROM `command` WHERE `name` = 'reload broadcast_text';
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('reload broadcast_text', 3, 'Syntax: .reload broadcast_text\r\n\r\nReload broadcast_text table.');
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END;
|
||||
//
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
Reference in New Issue
Block a user