~laurynas-biveinis/percona-xtrabackup/bug1022562-2.0

« back to all changes in this revision

Viewing changes to test/t/xb_part_range.sh

  • Committer: Stewart Smith
  • Date: 2012-07-06 05:13:15 UTC
  • mfrom: (242.55.8 staging-1.6)
  • Revision ID: stewart@flamingspork.com-20120706051315-jwfhd00ks0euqoi5
merge stewart's test suite cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
start_server
4
4
 
 
5
function check_partitioning()
 
6
{
 
7
   $MYSQL $MYSQL_ARGS -Ns -e "show variables like 'have_partitioning'"
 
8
}
 
9
 
 
10
PARTITION_CHECK=`check_partitioning`
 
11
 
 
12
if [ -z "$PARTITION_CHECK" ]; then
 
13
    echo "Requires Partitioning." > $SKIPPED_REASON
 
14
    stop_server
 
15
    exit $SKIPPED_EXIT_CODE
 
16
fi
 
17
 
5
18
run_cmd $MYSQL $MYSQL_ARGS test <<EOF
6
19
CREATE TABLE test (
7
20
  a int(11) DEFAULT NULL