[11837] Unify update files to sql style convention, thanks to crackm for pointing

This commit is contained in:
Schmoozerd 2011-11-04 15:24:35 +01:00
parent 97a1884ea4
commit c3c0098361
8 changed files with 17 additions and 17 deletions

View file

@ -1,5 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_10156_03_mangos_spell_proc_event required_10159_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_10156_03_mangos_spell_proc_event required_10159_01_mangos_spell_proc_event bit;
delete from `spell_proc_event` where `entry` = 48516; DELETE FROM `spell_proc_event` WHERE `entry` = 48516;
insert into `spell_proc_event` values INSERT INTO `spell_proc_event` VALUES
(48516, 0x00, 7, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 30); (48516, 0x00, 7, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 30);

View file

@ -29,7 +29,7 @@ INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) V
(2, 1, 1, 78, 0), (2, 1, 1, 78, 0),
(2, 1, 2, 20572, 0); (2, 1, 2, 20572, 0);
DELETE FROM playercreateinfo_action where race=2 AND class=9; DELETE FROM playercreateinfo_action WHERE race=2 AND class=9;
INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES
(2, 9, 0, 686, 0), (2, 9, 0, 686, 0),
(2, 9, 1, 687, 0), (2, 9, 1, 687, 0),
@ -90,19 +90,19 @@ INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) V
(5, 1, 1, 78, 0), (5, 1, 1, 78, 0),
(5, 1, 2, 20577, 0); (5, 1, 2, 20577, 0);
DELETE FROM playercreateinfo_action where race=5 AND class=8; DELETE FROM playercreateinfo_action WHERE race=5 AND class=8;
INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES
(5, 8, 0, 133, 0), (5, 8, 0, 133, 0),
(5, 8, 1, 168, 0), (5, 8, 1, 168, 0),
(5, 8, 2, 20577, 0); (5, 8, 2, 20577, 0);
DELETE FROM playercreateinfo_action where race=5 AND class=9; DELETE FROM playercreateinfo_action WHERE race=5 AND class=9;
INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES
(5, 9, 0, 686, 0), (5, 9, 0, 686, 0),
(5, 9, 1, 687, 0), (5, 9, 1, 687, 0),
(5, 9, 2, 20577, 0); (5, 9, 2, 20577, 0);
DELETE FROM playercreateinfo_action where race=5 AND class=5; DELETE FROM playercreateinfo_action WHERE race=5 AND class=5;
INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES
(5, 5, 0, 585, 0), (5, 5, 0, 585, 0),
(5, 5, 1, 2050, 0), (5, 5, 1, 2050, 0),

View file

@ -1,4 +1,4 @@
ALTER TABLE db_version CHANGE COLUMN required_10217_05_mangos_spell_proc_event required_10219_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_10217_05_mangos_spell_proc_event required_10219_01_mangos_spell_proc_event bit;
delete from `spell_proc_event` where entry = 36032; DELETE FROM `spell_proc_event` WHERE entry = 36032;
insert into `spell_proc_event` values (36032, 0x40, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); INSERT INTO `spell_proc_event` VALUES (36032, 0x40, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -1,5 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_10219_01_mangos_spell_proc_event required_10223_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_10219_01_mangos_spell_proc_event required_10223_01_mangos_spell_proc_event bit;
delete from `spell_proc_event` where entry = 71761; DELETE FROM `spell_proc_event` WHERE entry = 71761;
insert into `spell_proc_event` values INSERT INTO `spell_proc_event` VALUES
(71761, 0x00, 3, 0x00000000, 0x00000000, 0x00000000, 0x00100000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0.000000, 0.000000, 0); (71761, 0x00, 3, 0x00000000, 0x00000000, 0x00000000, 0x00100000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0.000000, 0.000000, 0);

View file

@ -1,6 +1,6 @@
ALTER TABLE db_version CHANGE COLUMN required_10342_02_mangos_command required_10349_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_10342_02_mangos_command required_10349_01_mangos_spell_proc_event bit;
delete from `spell_proc_event` where entry IN (71406, 71545); DELETE FROM `spell_proc_event` WHERE entry IN (71406, 71545);
insert into `spell_proc_event` values INSERT INTO `spell_proc_event` VALUES
(71406, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000, 0.000000,45.000000, 0), (71406, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000, 0.000000,45.000000, 0),
(71545, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000, 0.000000,45.000000, 0); (71545, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000, 0.000000,45.000000, 0);

View file

@ -1,3 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_10410_01_mangos_spell_chain required_10411_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_10410_01_mangos_spell_chain required_10411_01_mangos_spell_proc_event bit;
insert into spell_proc_event values (47230, 0x7F, 5, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); INSERT INTO spell_proc_event VALUES (47230, 0x7F, 5, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -1,4 +1,4 @@
ALTER TABLE db_version CHANGE COLUMN required_11827_01_mangos_creature_linking_template required_11831_01_mangos_mangos_string bit; ALTER TABLE db_version CHANGE COLUMN required_11827_01_mangos_creature_linking_template required_11831_01_mangos_mangos_string bit;
delete from mangos_string where entry = 1193; DELETE FROM mangos_string WHERE entry = 1193;
insert into mangos_string values (1193,'Gear Score of Player %s is %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); INSERT INTO mangos_string VALUES (1193,'Gear Score of Player %s is %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11836" #define REVISION_NR "11837"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__