From a73b03b7ea7ee7e217299f7938fb2bd80571f876 Mon Sep 17 00:00:00 2001
From: maximius <none@none>
Date: Fri, 2 Oct 2009 02:40:35 -0700
Subject: *New SQL to fix broken data blobs, if any. Must be run manually.
 *Cleanup, fix some typos, and fix the final heal of Lifebloom. Thanks
 ogeraisi.

--HG--
branch : trunk
---
 sql/updates/5804_characters.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 sql/updates/5804_characters.sql

(limited to 'sql/updates/5804_characters.sql')

diff --git a/sql/updates/5804_characters.sql b/sql/updates/5804_characters.sql
new file mode 100644
index 00000000000..5a221622bc9
--- /dev/null
+++ b/sql/updates/5804_characters.sql
@@ -0,0 +1,5 @@
+
+/*
+-- Broken character data blobs lately? Run this!
+-- UPDATE `characters` SET `data`=CONCAT(SUBSTRING_INDEX(`data`,' ',1248), ' ',SUBSTRING_INDEX(`data`,' ',-(1295-1248))) WHERE SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',1295+1),' ',-1) IS NOT NULL;
+*/
-- 
cgit v1.2.3

