aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-03-06 18:48:57 -0300
committerariel- <ariel-@users.noreply.github.com>2018-03-06 18:48:57 -0300
commitd18f8b94b0cb5182ef450bec5cafd3c5d74fd00a (patch)
tree214e3c4f1e7b1a0ed27ec646be6c797a8a6ff455 /sql/updates
parent272e000e890da43ad9be47d2a763f956c727c965 (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 Closes #19957
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/3.3.5/2018_03_06_00_auth.sql5
-rw-r--r--sql/updates/world/3.3.5/2018_03_06_06_world.sql3
2 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/auth/3.3.5/2018_03_06_00_auth.sql b/sql/updates/auth/3.3.5/2018_03_06_00_auth.sql
new file mode 100644
index 00000000000..ddaf1d13f0c
--- /dev/null
+++ b/sql/updates/auth/3.3.5/2018_03_06_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/3.3.5/2018_03_06_06_world.sql b/sql/updates/world/3.3.5/2018_03_06_06_world.sql
new file mode 100644
index 00000000000..24705a29709
--- /dev/null
+++ b/sql/updates/world/3.3.5/2018_03_06_06_world.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');