~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Copyright (C) 2008 Sun Microsystems, Inc. All rights reserved.  Use
# is subject to license terms.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
# USA

{
    basedir => '/1tb/bzr/mysql-next-mr',
    input_file => '/tmp/dump.test',
    expected_mtr_output => 'handle_segfault',
    header => [
#	'--source include/master-slave.inc',		# Enable this for replication
#       '--disable_abort_on_error',
        '--disable_warnings',
	'--disable_query_log',
	'--disable_result_log'
    ],
    footer => [
#	'--connection master',
#	'--sync_slave_with_master',			# Enable this for replication
#	'--let $diff_table_1 = master:test.table1_int',
#	'--let $diff_table_2 = slave:test.table1_int',
#	'--source include/diff_tables.inc',
    ],

    filter => qr{SHOW WARNINGS|EXPLAIN}sio,

    mtr_options => {
#	'start-dirty'		=> undef,
        'skip-ndbcluster'    => undef,
        'record'             => undef,
#        'mem'                => undef,
        'no-check-testcases' => undef,
        'nowarnings'         => undef,
        'fast'               => undef,
	'max-save-datadir'	=> 1,
	'max-save-core'		=> 1,
	'compress'		=> undef,
	'repeat'		=> 1,
	'skip-combinations'	=> undef,
	'vardir'		=> '/1tb/vardir',
	'testcase-timeout'	=> 60,
	'suite-timeout'		=> 60
    },

    mysqld => {

        # 'innodb'                       => undef,
        # 'binlog-format'                => 'mixed',
        # 'plugin-dir'                   => '/build/bzr/mysql-5.1-rep+3/plugin/semisync/.libs',
        # 'plugin-load'                  => 'rpl_semi_sync_master=libsemisync_master.so:rpl_semi_sync_slave=libsemisync_slave.so',
        # 'rpl_semi_sync_master_enabled' => 1,
        # 'rpl_semi_sync_slave_enabled'  => 1,

	'delay-key-write'		=> 'all',
	'sync-binlog'			=> 0,
	'myisam-sort-buffer-size'	=> '500M',
	'myisam-repair-threads'		=> 4,
	'myisam-max-sort-file-size'	=> '900G',
	'key_buffer_size'		=> '100M',
	'log-output'			=> 'none',

# Those options make test execution faster

#        'lock-wait-timeout'            => 1,
        'loose-rpl_semi_sync_master_timeout' => 10,
        'log-output'                         => 'none',
#        'innodb_flush_log_at_trx_commit'     => 0,
        'log-slave-updates'                  => 0,
    },

    use_connections => 0

}