aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2019-04-27 18:39:06 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-02 00:39:20 +0100
commitc73fd0e6e30f6dff0d2f721f549aed2c62e52c24 (patch)
tree68a716a330e96a1ded4b709257d226e349d99ba5 /sql/updates/auth
parentdc2fed13c8a98123ff20316428e41eada36c81e9 (diff)
Scripts/Commands: Add .debug asan commands
Add ".debug asan memoryleak" and ".debug asan outofbounds" commands to trigger Address Sanitizer warnings at runtime (or other dynamic analysis tools) (cherry picked from commit 71d15ea25be3e86646faaa3266617a0b8177972f)
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/master/2019_04_27_00_auth.sql3
1 files changed, 3 insertions, 0 deletions
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');