[8107] Fixed sql queries included in [8098].

Old version break stored action spell ids, but this is not critical damage so
restore data at applied damage not done in fix. But it will fix errors at new characters creating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
GriffonHeart 2009-07-02 09:17:50 +04:00 committed by VladimirMangos
parent 8089b3bc91
commit fbfbdf6d13
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ ALTER TABLE character_action
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0'; CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
UPDATE character_action UPDATE character_action
SET action = action | ( misc < 16 ); SET action = action | ( misc << 16 );
ALTER TABLE character_action ALTER TABLE character_action
DROP COLUMN misc; DROP COLUMN misc;

View file

@ -4,7 +4,7 @@ ALTER TABLE playercreateinfo_action
CHANGE COLUMN action action int(11) unsigned NOT NULL default '0'; CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
UPDATE playercreateinfo_action UPDATE playercreateinfo_action
SET action = action | ( misc < 16 ); SET action = action | ( misc << 16 );
ALTER TABLE playercreateinfo_action ALTER TABLE playercreateinfo_action
DROP COLUMN misc; DROP COLUMN misc;

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 "8106" #define REVISION_NR "8107"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__