aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorclick <none@none>2010-11-19 13:13:07 +0100
committerclick <none@none>2010-11-19 13:13:07 +0100
commit67fade84d313285ae6b219fddddb4868a7de203a (patch)
tree8b3d53b165468334c392bc80687cbdad1cbf03df /sql/updates
parent67cd8d18e1bb5e1c41670270def44c8b10f91945 (diff)
Core/Commands: Enable SQL query logging by config and command )patch by leak)
Closes issue 4853. --HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/10470_world_command.sql3
-rw-r--r--sql/updates/10470_world_trinity_string.sql4
2 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/10470_world_command.sql b/sql/updates/10470_world_command.sql
new file mode 100644
index 00000000000..56f665e9104
--- /dev/null
+++ b/sql/updates/10470_world_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` LIKE 'server togglequerylog';
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('server togglequerylog',4,'Toggle SQL driver query logging.');
diff --git a/sql/updates/10470_world_trinity_string.sql b/sql/updates/10470_world_trinity_string.sql
new file mode 100644
index 00000000000..03b507de7a4
--- /dev/null
+++ b/sql/updates/10470_world_trinity_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM `trinity_string` WHERE `entry` IN (1027, 1028);
+INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
+(1027, 'SQL driver query logging enabled.'),
+(1028, 'SQL driver query logging disabled.'); \ No newline at end of file