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

« back to all changes in this revision

Viewing changes to mysql-test/suite/parts/inc/partition_layout_check2.inc

  • 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:
28
28
let $MYSQLD_DATADIR= `select LEFT(@@datadir, LENGTH(@@datadir)-1)`;
29
29
#echo MYSQLD_DATADIR: $MYSQLD_DATADIR;
30
30
 
31
 
# Dump the current definition of the table t1 to tmp1
32
 
let $show_file= $MYSQLD_DATADIR/test/tmp1;
33
 
--exec echo "SHOW CREATE TABLE t1; exit; " | $MYSQL_TEST > $show_file 2>&1
 
31
# Save the current definition of the table t1
 
32
let $show_create= `SHOW CREATE TABLE t1`;
34
33
 
35
34
if ($do_file_tests)
36
35
{
52
51
 
53
52
# Insert the current definition of the table t1 into t0_definition
54
53
eval INSERT INTO t0_definition SET state = 'new',
55
 
     create_command = load_file('$show_file'),
 
54
     create_command = "$show_create",
56
55
     file_list      = @aux;
57
56
 
58
57
# Print the old and new table layout, if they differ