~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/r/metadata_locks_cache_size_basic.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Check that the paremeter is correctly set by start-up
 
3
# option (.opt file sets it to 256 while default is 1024).
 
4
select @@global.metadata_locks_cache_size = 256;
 
5
@@global.metadata_locks_cache_size = 256
 
6
1
 
7
#
 
8
# Check that variable is read only
 
9
#
 
10
set @@global.metadata_locks_cache_size= 1024;
 
11
ERROR HY000: Variable 'metadata_locks_cache_size' is a read only variable
 
12
select @@global.metadata_locks_cache_size = 256;
 
13
@@global.metadata_locks_cache_size = 256
 
14
1
 
15
#
 
16
# And only GLOBAL
 
17
#
 
18
select @@session.metadata_locks_cache_size;
 
19
ERROR HY000: Variable 'metadata_locks_cache_size' is a GLOBAL variable
 
20
set @@session.metadata_locks_cache_size= 1024;
 
21
ERROR HY000: Variable 'metadata_locks_cache_size' is a read only variable