mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-35604: SIGSEGV in filter_query_type | log_statement_ex / auditing
Take into account that filter_query_type can get empty query after skip_set_statement run on incorrect query.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
2ab10fbec2
commit
694d91da89
@@ -30,4 +30,13 @@ DROP USER u2;
|
||||
set global server_audit_logging=off;
|
||||
UNINSTALL PLUGIN ed25519;
|
||||
UNINSTALL PLUGIN server_audit;
|
||||
#
|
||||
# MDEV-35604: SIGSEGV in filter_query_type | log_statement_ex / auditing
|
||||
#
|
||||
INSTALL PLUGIN server_audit SONAME 'server_audit';
|
||||
SET GLOBAL server_audit_logging=ON;
|
||||
SET STATEMENT max_error_count=1 SELECT 1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELECT 1' at line 1
|
||||
SET GLOBAL server_audit_logging=OFF;
|
||||
UNINSTALL SONAME 'server_audit';
|
||||
# end of 10.5 tests
|
||||
|
Reference in New Issue
Block a user