aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorShauren <none@none>2010-09-14 13:56:27 +0200
committerShauren <none@none>2010-09-14 13:56:27 +0200
commit102e51d620c9a948db4b685cef53a7ed0698bd4c (patch)
treea14aba2f465f26678242da5a610e2d2510a749bd /sql/updates
parentcdd8f446fa9cd82eeea716934d7aa6d99151d1a8 (diff)
Core/Pools: Implemented quest pooling
Core/DBLayer: Added GetNumRows() method to PreparedResultSet --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/9920_characters_pool_quest_save.sql6
-rw-r--r--sql/updates/9920_world_pool_quest.sql8
2 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/9920_characters_pool_quest_save.sql b/sql/updates/9920_characters_pool_quest_save.sql
new file mode 100644
index 00000000000..ca1bfdafd16
--- /dev/null
+++ b/sql/updates/9920_characters_pool_quest_save.sql
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `pool_quest_save`;
+CREATE TABLE `pool_quest_save` (
+ `pool_id` int(10) unsigned NOT NULL DEFAULT '0',
+ `quest_id` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`pool_id`,`quest_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
diff --git a/sql/updates/9920_world_pool_quest.sql b/sql/updates/9920_world_pool_quest.sql
new file mode 100644
index 00000000000..b8a326b38d3
--- /dev/null
+++ b/sql/updates/9920_world_pool_quest.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `pool_quest`;
+CREATE TABLE `pool_quest` (
+ `entry` int(10) unsigned NOT NULL DEFAULT '0',
+ `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0',
+ `description` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`entry`),
+ KEY `idx_guid` (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;