mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
775e82638b
(but support the scopeless mysql style too). always output status/system variables in the correct lettercase
29 lines
786 B
Text
29 lines
786 B
Text
set @old_global_general_log=@@global.general_log;
|
|
set global general_log=OFF;
|
|
install plugin audit_null soname 'adt_null';
|
|
select 1;
|
|
1
|
|
1
|
|
select foobar;
|
|
ERROR 42S22: Unknown column 'foobar' in 'field list'
|
|
show status like 'audit_null%';
|
|
Variable_name Value
|
|
Audit_null_called 9
|
|
Audit_null_general_log 3
|
|
Audit_null_general_error 1
|
|
Audit_null_general_result 2
|
|
create procedure au1(x char(16)) select concat("test1", x);
|
|
call au1("-12");
|
|
concat("test1", x)
|
|
test1-12
|
|
show status like 'audit_null%';
|
|
Variable_name Value
|
|
Audit_null_called 19
|
|
Audit_null_general_log 7
|
|
Audit_null_general_error 1
|
|
Audit_null_general_result 5
|
|
uninstall plugin audit_null;
|
|
Warnings:
|
|
Warning 1620 Plugin is busy and will be uninstalled on shutdown
|
|
drop procedure au1;
|
|
set global general_log=@old_global_general_log;
|