mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 22:37:04 +00:00
[9714] Replace tab with spaces, just to make at least one push today.
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
53b84ffe19
commit
f1af55f162
2 changed files with 3 additions and 4 deletions
|
|
@ -4,13 +4,12 @@ UPDATE `mail` LEFT JOIN `item_text` ON `mail`.`itemtextid` = `item_text`.`id` SE
|
|||
DELETE item_text FROM mail, item_text WHERE mail.itemtextid = item_text.id;
|
||||
ALTER TABLE `mail` DROP COLUMN `itemtextid`;
|
||||
|
||||
|
||||
UPDATE item_instance SET data = REPLACE(data,' ',' ');
|
||||
UPDATE item_instance SET data = CONCAT(TRIM(data),' ');
|
||||
|
||||
UPDATE `item_instance` SET `data` = CONCAT(
|
||||
SUBSTRING_INDEX(`data`, ' ', 59 + 1), ' ',
|
||||
SUBSTRING_INDEX(`data`, ' ', -3 -1), '0 ')
|
||||
SUBSTRING_INDEX(`data`, ' ', 59 + 1), ' ',
|
||||
SUBSTRING_INDEX(`data`, ' ', -3 -1), '0 ')
|
||||
WHERE length(SUBSTRING_INDEX(data, ' ', 64)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 64+1)) >= length(data);
|
||||
|
||||
UPDATE item_instance SET data = REPLACE(data,' ',' ');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue