aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShocker <none@none>2010-09-01 17:03:43 +0300
committerShocker <none@none>2010-09-01 17:03:43 +0300
commit96765bc6e04e667d06418d1a0cadc8600fdddb3e (patch)
treeccb75766d67cb037c4ee99392e1c2401c41243ae
parent90a2e23a9702a14507b7c9ce597265458ea08538 (diff)
creature_respawn should be InnoDB since it's prone to continuous writes
--HG-- branch : trunk
-rw-r--r--sql/base/world_database.sql2
-rw-r--r--sql/updates/9709_world_creature_respawn.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index 3245fd5bb44..0cde2c20516 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -1575,7 +1575,7 @@ CREATE TABLE `creature_respawn` (
`instance` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
/*!40101 SET character_set_client = @saved_cs_client */;
--
diff --git a/sql/updates/9709_world_creature_respawn.sql b/sql/updates/9709_world_creature_respawn.sql
new file mode 100644
index 00000000000..00cd83b51c2
--- /dev/null
+++ b/sql/updates/9709_world_creature_respawn.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature_respawn` ENGINE = InnoDB;