mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
rename plugin null_audit -> audit_null (to match status variable names)
create audit_null.test
This commit is contained in:
18
mysql-test/suite/plugins/t/audit_null.test
Normal file
18
mysql-test/suite/plugins/t/audit_null.test
Normal file
@ -0,0 +1,18 @@
|
||||
if (!$ADT_NULL_SO) {
|
||||
skip No NULL_AUDIT plugin;
|
||||
}
|
||||
|
||||
set @old_global_general_log=@@global.general_log;
|
||||
set global general_log=OFF;
|
||||
|
||||
install plugin audit_null soname 'adt_null';
|
||||
|
||||
select 1;
|
||||
--error 1054
|
||||
select foobar;
|
||||
show status like 'audit_null%';
|
||||
|
||||
uninstall plugin audit_null;
|
||||
|
||||
set global general_log=@old_global_general_log;
|
||||
|
Reference in New Issue
Block a user