mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8491] Add absent empty line to end of sql updates.
Thanks to mns for pointing to problem. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e0c319ef33
commit
692f32c82a
16 changed files with 16 additions and 16 deletions
|
|
@ -4,4 +4,4 @@ UPDATE IGNORE character_spell
|
|||
SET spell = 64901
|
||||
WHERE spell = 64904;
|
||||
|
||||
DELETE FROM character_spell WHERE spell = 64904;
|
||||
DELETE FROM character_spell WHERE spell = 64904;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8021_01_mangos_spell_proc_event required_8030_03_mangos_npc_trainer bit;
|
||||
|
||||
DELETE FROM npc_trainer WHERE spell = 64904;
|
||||
DELETE FROM npc_trainer WHERE spell = 64904;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8030_03_mangos_npc_trainer required_8050_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM spell_proc_event WHERE entry = 63108;
|
||||
INSERT INTO spell_proc_event VALUES (63108, 0x00, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
INSERT INTO spell_proc_event VALUES (63108, 0x00, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8050_01_mangos_spell_proc_event required_8050_02_mangos_spell_bonus_data bit;
|
||||
|
||||
DELETE FROM spell_bonus_data WHERE entry = 63106;
|
||||
INSERT INTO spell_bonus_data VALUES (63106, 0, 0, 0, 'Warlock - Siphon Life Triggered');
|
||||
INSERT INTO spell_bonus_data VALUES (63106, 0, 0, 0, 'Warlock - Siphon Life Triggered');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8064_01_mangos_spell_chain required_8065_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM spell_proc_event WHERE entry IN (47535, 47536, 47537, 58435);
|
||||
DELETE FROM spell_proc_event WHERE entry IN (47535, 47536, 47537, 58435);
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ ALTER TABLE db_version CHANGE COLUMN required_8098_02_mangos_playercreateinfo_ac
|
|||
DELETE FROM spell_proc_event WHERE entry IN (63156, 63158);
|
||||
INSERT INTO spell_proc_event VALUES
|
||||
(63156, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(63158, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
(63158, 0x00000000, 0, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ DELETE FROM spell_proc_event WHERE entry IN (31876, 31877, 31878);
|
|||
INSERT INTO spell_proc_event VALUES
|
||||
(31876, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000008, 0x00004110, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(31877, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000008, 0x00004110, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(31878, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000008, 0x00004110, 0x00000000, 0.000000, 0.000000, 0);
|
||||
(31878, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000008, 0x00004110, 0x00000000, 0.000000, 0.000000, 0);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8212_01_mangos_spell_proc_event required_8213_01_mangos_spell_bonus_data bit;
|
||||
|
||||
DELETE FROM `spell_bonus_data` where entry='17962';
|
||||
INSERT INTO `spell_bonus_data` (`entry`) VALUES ('17962');
|
||||
INSERT INTO `spell_bonus_data` (`entry`) VALUES ('17962');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8227_01_mangos_spell_proc_event required_8237_01_mangos_creature_template bit;
|
||||
|
||||
UPDATE creature_template
|
||||
SET mindmg = ROUND(mindmg + attackpower), maxdmg=ROUND(maxdmg+attackpower);
|
||||
SET mindmg = ROUND(mindmg + attackpower), maxdmg=ROUND(maxdmg+attackpower);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8249_02_mangos_spell_chain required_8250_01_mangos_spell_threat bit;
|
||||
|
||||
DELETE FROM `spell_threat` WHERE `entry` IN (778,9749,9907,14274,15629,15630,15631,15632,17390,17391,17392,26993,27011);
|
||||
DELETE FROM `spell_threat` WHERE `entry` IN (778,9749,9907,14274,15629,15630,15631,15632,17390,17391,17392,26993,27011);
|
||||
|
|
|
|||
|
|
@ -17,4 +17,4 @@ CREATE TABLE `guild_eventlog` (
|
|||
|
||||
-- The reason i decided for such dramatic change is that old guild_eventlog table didn't have Primary key and
|
||||
-- used LogGuids from 0 to infinity
|
||||
-- New system uses LogGuids from 0 to number defined in config.
|
||||
-- New system uses LogGuids from 0 to number defined in config.
|
||||
|
|
|
|||
|
|
@ -20,4 +20,4 @@ CREATE TABLE `guild_bank_eventlog` (
|
|||
|
||||
-- The reason i decided for such dramatic change is that old guild_bank_eventlog table used `TabId` = 0 for Money events and
|
||||
-- used `LogGuid` from 0 to infinity
|
||||
-- New system uses `LogGuid` from 0 to number defined in config.
|
||||
-- New system uses `LogGuid` from 0 to number defined in config.
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@ ALTER TABLE guild ADD COLUMN createdate bigint(20) NOT NULL default '0' AFTER mo
|
|||
-- copy data to new column
|
||||
UPDATE guild set createdate = created_temp;
|
||||
-- remove old column
|
||||
ALTER TABLE guild DROP COLUMN created_temp;
|
||||
ALTER TABLE guild DROP COLUMN created_temp;
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ INSERT INTO character_account_data
|
|||
SELECT c.guid as guid, a.type as type, a.time as time, a.data as data
|
||||
FROM characters c LEFT JOIN account_data a ON c.account = a.account WHERE a.type IN (1, 3, 5, 6, 7);
|
||||
|
||||
DELETE FROM account_data WHERE type IN (1, 3, 5, 6, 7);
|
||||
DELETE FROM account_data WHERE type IN (1, 3, 5, 6, 7);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8487_01_mangos_spell_bonus_data required_8487_02_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (31801, 53736);
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (31801, 53736);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8490"
|
||||
#define REVISION_NR "8491"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue