aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorAokromes <aokromes@gmail.com>2018-03-14 11:41:09 +0100
committerAokromes <aokromes@gmail.com>2018-03-14 11:41:09 +0100
commitbc88d3bc15debb70432603b21a2319b72db02f49 (patch)
tree328f94ad0359a456f4de907544c95ad0bba7775f /sql/updates
parent007b5a68c50bbee7d05acec888d3273c2a5a8577 (diff)
Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug: * rev. hash * versions of mysql, openssl, boost, cmake * info about autoupdater * info about ports (realmlist and current) * vmap/map/mmap status and folder sizes * available DBC locales * TDB version cherry pick of d18f8b94b0cb5182ef450bec5cafd3c5d74fd00a Running this command when reporting bugs is MANDATORY (you can censor paths)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/master/2018_03_14_00_auth.sql5
-rw-r--r--sql/updates/world/master/2018_03_14_00_auth.sql3
2 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2018_03_14_00_auth.sql b/sql/updates/auth/master/2018_03_14_00_auth.sql
new file mode 100644
index 00000000000..ddaf1d13f0c
--- /dev/null
+++ b/sql/updates/auth/master/2018_03_14_00_auth.sql
@@ -0,0 +1,5 @@
+DELETE FROM `rbac_permissions` WHERE `id`=872;
+INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
+(872, 'Command: server debug');
+INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
+(196, 872);
diff --git a/sql/updates/world/master/2018_03_14_00_auth.sql b/sql/updates/world/master/2018_03_14_00_auth.sql
new file mode 100644
index 00000000000..24705a29709
--- /dev/null
+++ b/sql/updates/world/master/2018_03_14_00_auth.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name`='server debug';
+INSERT INTO `command` (`name`, `permission`, `help`) VALUES
+('server debug', 872, 'Syntax: .server debug\n\nShows detailed information about server setup, useful when reporting a bug');