mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 13:37:01 +00:00
You can still used its (for example to upgrade DB from 0.12 state) but its will not included in installed sql updates list at Unix/Linus for speedup 'make install'.
9 lines
455 B
SQL
9 lines
455 B
SQL
ALTER TABLE character_db_version CHANGE COLUMN required_7903_01_characters_character_pet required_7932_01_characters_character_pet bit;
|
|
|
|
UPDATE character_pet
|
|
SET abdata = CONCAT(REPLACE(TRIM(abdata),' ',' '),' ');
|
|
|
|
UPDATE character_pet
|
|
SET abdata = SUBSTRING_INDEX(SUBSTRING_INDEX(abdata,' ',(10-3)*2),' ',-(10-3-3)*2)
|
|
WHERE length(SUBSTRING_INDEX(abdata, ' ', 20)) < length(abdata) and length(SUBSTRING_INDEX(abdata, ' ', 21)) >= length(abdata);
|
|
|