mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8469] Fix possible garbage in character_spell after [8416]
Removed in sql update spell not expected to be listed in character_spell long before [8416] as dependent, but reported as partly listed. So do cleanup. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
b145659b31
commit
bf7c15a5a6
5 changed files with 25 additions and 3 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `character_db_version`;
|
DROP TABLE IF EXISTS `character_db_version`;
|
||||||
CREATE TABLE `character_db_version` (
|
CREATE TABLE `character_db_version` (
|
||||||
`required_8433_01_characters_character_account_data` bit(1) default NULL
|
`required_8469_01_characters_character_spell` bit(1) default NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
20
sql/updates/8469_01_characters_character_spell.sql
Normal file
20
sql/updates/8469_01_characters_character_spell.sql
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
ALTER TABLE character_db_version CHANGE COLUMN required_8433_01_characters_character_account_data required_8469_01_characters_character_spell bit;
|
||||||
|
|
||||||
|
DELETE FROM character_spell WHERE spell in (
|
||||||
|
1178, /* Bear Form (Passive) */
|
||||||
|
3025, /* Cat Form (Passive) */
|
||||||
|
5419, /* Travel Form (Passive) */
|
||||||
|
5420, /* Tree of Life _passive_ */
|
||||||
|
5421, /* Aquatic Form (Passive) */
|
||||||
|
7376, /* Defensive Stance Passive */
|
||||||
|
7381, /* Berserker Stance Passive */
|
||||||
|
9635, /* Dire Bear Form (Passive) */
|
||||||
|
21156, /* Battle Stance Passive */
|
||||||
|
21178, /* Bear Form (Passive2) */
|
||||||
|
24905, /* Moonkin Form (Passive) */
|
||||||
|
34123, /* Tree of Life _pasive_ */
|
||||||
|
33948, /* Flight Form (Passive) */
|
||||||
|
34764, /* Flight Form (Passive) */
|
||||||
|
40121, /* Swift Flight Form (Passive) */
|
||||||
|
40122 /* Swift Flight Form (Passive) */
|
||||||
|
);
|
||||||
|
|
@ -99,6 +99,7 @@ pkgdata_DATA = \
|
||||||
8444_01_mangos_mangos_string.sql \
|
8444_01_mangos_mangos_string.sql \
|
||||||
8451_01_mangos_spell_proc_event.sql \
|
8451_01_mangos_spell_proc_event.sql \
|
||||||
8462_01_mangos_creature_ai_texts.sql \
|
8462_01_mangos_creature_ai_texts.sql \
|
||||||
|
8469_01_characters_character_spell.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -178,4 +179,5 @@ EXTRA_DIST = \
|
||||||
8444_01_mangos_mangos_string.sql \
|
8444_01_mangos_mangos_string.sql \
|
||||||
8451_01_mangos_spell_proc_event.sql \
|
8451_01_mangos_spell_proc_event.sql \
|
||||||
8462_01_mangos_creature_ai_texts.sql \
|
8462_01_mangos_creature_ai_texts.sql \
|
||||||
|
8469_01_characters_character_spell.sql \
|
||||||
README
|
README
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8468"
|
#define REVISION_NR "8469"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __REVISION_SQL_H__
|
#ifndef __REVISION_SQL_H__
|
||||||
#define __REVISION_SQL_H__
|
#define __REVISION_SQL_H__
|
||||||
#define REVISION_DB_CHARACTERS "required_8433_01_characters_character_account_data"
|
#define REVISION_DB_CHARACTERS "required_8469_01_characters_character_spell"
|
||||||
#define REVISION_DB_MANGOS "required_8462_01_mangos_creature_ai_texts"
|
#define REVISION_DB_MANGOS "required_8462_01_mangos_creature_ai_texts"
|
||||||
#define REVISION_DB_REALMD "required_8332_01_realmd_realmcharacters"
|
#define REVISION_DB_REALMD "required_8332_01_realmd_realmcharacters"
|
||||||
#endif // __REVISION_SQL_H__
|
#endif // __REVISION_SQL_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue