Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fe179682
Commit
fe179682
authored
Nov 07, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename plugin null_audit -> audit_null (to match status variable names)
create audit_null.test
parent
5d3e4f53
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
mysql-test/suite/plugins/r/audit_null.result
mysql-test/suite/plugins/r/audit_null.result
+18
-0
mysql-test/suite/plugins/t/audit_null.test
mysql-test/suite/plugins/t/audit_null.test
+18
-0
plugin/audit_null/audit_null.c
plugin/audit_null/audit_null.c
+1
-1
No files found.
mysql-test/suite/plugins/r/audit_null.result
0 → 100644
View file @
fe179682
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 6
Audit_null_general_error 1
Audit_null_general_log 0
Audit_null_general_result 2
uninstall plugin audit_null;
Warnings:
Warning 1620 Plugin is busy and will be uninstalled on shutdown
set global general_log=@old_global_general_log;
mysql-test/suite/plugins/t/audit_null.test
0 → 100644
View file @
fe179682
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
;
plugin/audit_null/audit_null.c
View file @
fe179682
...
...
@@ -145,7 +145,7 @@ mysql_declare_plugin(audit_null)
{
MYSQL_AUDIT_PLUGIN
,
/* type */
&
audit_null_descriptor
,
/* descriptor */
"
NULL_AUDIT
"
,
/* name */
"
AUDIT_NULL
"
,
/* name */
"Oracle Corp"
,
/* author */
"Simple NULL Audit"
,
/* description */
PLUGIN_LICENSE_GPL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment