~ubuntu-branches/ubuntu/quantal/mysql-5.5/quantal-updates

« back to all changes in this revision

Viewing changes to mysql-test/include/have_null_audit_plugin.inc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-01-16 10:11:37 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130116101137-w2lant30o21mzi0b
Tags: 5.5.29-0ubuntu0.12.10.1
* SECURITY UPDATE: Update to 5.5.29 to fix security issues (LP: #1100264)
  - http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html
* debian/patches/CVE-2012-5611.patch: removed, included upstream.
* debian/patches/38_scripts__mysqld_safe.sh__signals.patch: refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
disable_query_log;
 
2
#
 
3
# Check if server has support for loading plugins
 
4
#
 
5
if (`SELECT @@have_dynamic_loading != 'YES'`) {
 
6
  --skip Null audit plugin requires dynamic loading
 
7
}
 
8
 
 
9
#
 
10
# Check if the variable AUDIT_NULL is set
 
11
#
 
12
if (!$AUDIT_NULL) {
 
13
  --skip Audit_null plugin requires the environment variable \$AUDIT_NULL to be set (normally done by mtr)
 
14
}
 
15
 
 
16
#
 
17
# Check if --plugin-dir was setup for null_audit db
 
18
#
 
19
if (`SELECT CONCAT('--plugin-dir=', REPLACE(@@plugin_dir, '\\\\', '/')) != '$AUDIT_NULL_OPT/'`) {
 
20
  --skip null audit plugin requires that --plugin-dir is set to the null audit plugin dir (either the .opt file does not contain \$AUDIT_NULL_OPT or another plugin is in use)
 
21
}
 
22
enable_query_log;