test case for a coredump on merge tables. Sergei or Monty, can you fix this?

This commit is contained in:
sasha@mysql.sashanet.com 2000-12-12 08:24:50 -07:00
parent 36c7d4eb02
commit ca5e1f6d95
5 changed files with 11 additions and 7 deletions

View file

@ -43,6 +43,7 @@ cd ..
BASEDIR=`pwd`
cd $CWD
MYSQL_TEST_DIR=$BASEDIR/mysql-test
STD_DATA=$MYSQL_TEST_DIR/std_data
TESTDIR="$MYSQL_TEST_DIR/t/"
TESTSUFFIX=test
@ -127,6 +128,7 @@ else
INSTALL_DB="../scripts/install_test_db -bin"
fi
SLAVE_MYSQLD=$MYSQLD #this will be changed later if we are doing gcov
@ -394,8 +396,8 @@ mysql_restart () {
}
mysql_loadstd () {
#sleep 2
cp $STD_DATA/*.frm $STD_DATA/*.MRG $MASTER_MYDDIR/test
return 1
}
@ -506,11 +508,11 @@ then
[ $res = 1 ] && echo_ok
fi
#$SETCOLOR_NORMAL && $ECHO -n "Loading Standard Test Database"
#mysql_loadstd
#res=$?
#[ $res != 1 ] && echo_notok && error "Loading STD"
#[ $res = 1 ] && echo_ok
$SETCOLOR_NORMAL && $ECHO -n "Loading Standard Test Database"
mysql_loadstd
res=$?
[ x$res != x1 ] && echo_notok && error "Loading STD"
[ x$res = x1 ] && echo_ok
$SETCOLOR_NORMAL && $ECHO -n "Starting Tests for MySQL $TESTVER Series"
$SETCOLOR_SUCCESS && echo_ok

View file

View file

BIN
mysql-test/std_data/m.frm Normal file

Binary file not shown.

View file

@ -0,0 +1,2 @@
use test;
@r/mrg000002.result select * from m;