polardbxengine/mysql-test/suite/xengine_stress/rqg/conf/invariant.zz

57 lines
1.7 KiB
Plaintext

# 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
#####################################################################
#
# Author: Jorgen Loland
# Date: April 2009
#
# Purpose: Implementation of WL#4218: Test that transactions executed
# concurrently with backup are either completely restored or not
# restored at all. No transaction should be partially represented
# after restore.
#
# See further documentation in invariant.yy
#
# Associated files:
# mysql-test/gentest/conf/invariant.yy
# mysql-test/gentest/conf/invariant.zz
# mysql-test/gentest/lib/GenTest/Validator/Invariant.pm
# mysql-test/gentest/lib/GenTest/Reporter/BackupAndRestoreInvariant.pm
#
#####################################################################
#
# Prepare the schema used by RQG script invariant.yy
#
# See invariant.yy for conceptual model of the tables
#
$tables = {
rows => [490, 510] ,
pk => [ 'integer auto_increment' ]
};
$fields = {
types => [ 'int' ],
indexes => [ undef ],
null => ['not null']
};
$data = {
numbers => [ '100' ]
}