~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/include/mtr_check.sql

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
 
2
--
 
3
-- This program is free software; you can redistribute it and/or modify
 
4
-- it under the terms of the GNU General Public License as published by
 
5
-- the Free Software Foundation; version 2 of the License.
 
6
--
 
7
-- This program is distributed in the hope that it will be useful,
 
8
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
-- GNU General Public License for more details.
 
11
--
 
12
-- You should have received a copy of the GNU General Public License
 
13
-- along with this program; if not, write to the Free Software Foundation,
 
14
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
15
 
1
16
delimiter ||;
2
17
 
3
18
use mtr||
12
27
  -- Dump all global variables except those
13
28
  -- that are supposed to change
14
29
  SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
15
 
    WHERE variable_name != 'timestamp' ORDER BY VARIABLE_NAME;
 
30
    WHERE variable_name NOT IN ('timestamp', 'innodb_file_format_check')
 
31
      ORDER BY VARIABLE_NAME;
16
32
 
17
33
  -- Dump all databases, there should be none
18
34
  -- except those that was created during bootstrap