diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/base/auth_database.sql | 2 | ||||
-rw-r--r-- | sql/updates/auth/master/2019_04_27_00_auth.sql | 3 | ||||
-rw-r--r-- | sql/updates/world/master/2021_12_01_04_world_2019_04_27_00_world.sql | 18 |
3 files changed, 23 insertions, 0 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 7e6c288e045..585914883e0 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -2151,6 +2151,7 @@ INSERT INTO `rbac_permissions` VALUES (871,'Command: debug instancespawn'), (872,'Command: server debug'), (873,'Command: reload creature_movement_override'), +(874,'Command: debug asan'), (881,'Command: reload vehicle_template'), (882,'Command: reload spell_script_names'); /*!40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */; @@ -2383,6 +2384,7 @@ INSERT INTO `updates` VALUES ('2018_09_17_00_auth.sql','4DB671F0A4FA1A93AF28FB6426AF13DE72C7DA3D','ARCHIVED','2018-09-17 00:00:00',0), ('2018_12_09_00_auth_2017_01_06_00_auth.sql','6CCFE6A9774EC733C9863D36A0F15F3534189BBD','ARCHIVED','2017-01-06 00:00:00',0), ('2018_12_09_01_auth.sql','576C2A11BE671D8420FA3EB705E594E381ECCC56','ARCHIVED','2018-12-09 14:49:17',0), +('2019_04_27_00_auth.sql','84B1EB9CC9B09BAF55E6295D202EC57D99B1B60E','ARCHIVED','2019-04-27 18:07:18',0), ('2019_06_08_00_auth.sql','EA5A78F5A26C17BC790481EA9B3772D3A6912459','ARCHIVED','2019-05-20 17:21:20',0), ('2019_06_08_01_auth.sql','8165B1B787E3ECF0C8C0AD2D641513270977ABB4','ARCHIVED','2019-06-04 16:51:31',0), ('2019_06_08_02_auth.sql','B39DCBD902290700A81C9D028F54B58601C19A99','ARCHIVED','2019-06-05 16:26:31',0), diff --git a/sql/updates/auth/master/2019_04_27_00_auth.sql b/sql/updates/auth/master/2019_04_27_00_auth.sql new file mode 100644 index 00000000000..d8f01cc9db3 --- /dev/null +++ b/sql/updates/auth/master/2019_04_27_00_auth.sql @@ -0,0 +1,3 @@ +-- +DELETE FROM `rbac_permissions` WHERE `id`= 874; +INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (874, 'Command: debug asan'); diff --git a/sql/updates/world/master/2021_12_01_04_world_2019_04_27_00_world.sql b/sql/updates/world/master/2021_12_01_04_world_2019_04_27_00_world.sql new file mode 100644 index 00000000000..87f7cacf4dd --- /dev/null +++ b/sql/updates/world/master/2021_12_01_04_world_2019_04_27_00_world.sql @@ -0,0 +1,18 @@ +-- +DELETE FROM `command` WHERE `name`='debug asan'; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +('debug asan',874,'Syntax: .debug asan $subcommand +Type .debug asan to see the list of possible subcommands or .help debug asan $subcommand to see info on subcommands. +Use only when testing dynamic analysis tools.'); + +DELETE FROM `command` WHERE `name`='debug asan outofbounds'; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +('debug asan outofbounds',874,'Syntax: .debug asan outofbounds +Triggers a stack out of bounds read. +Use only when testing dynamic analysis tools.'); + +DELETE FROM `command` WHERE `name`='debug asan memoryleak'; +INSERT INTO `command` (`name`,`permission`,`help`) VALUES +('debug asan memoryleak',874,'Syntax: .debug asan memoryleak +Triggers a memory leak. +Use only when testing dynamic analysis tools.'); |