mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
test case for a coredump on merge tables. Sergei or Monty, can you fix this?
This commit is contained in:
parent
36c7d4eb02
commit
ca5e1f6d95
5 changed files with 11 additions and 7 deletions
|
@ -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
|
||||
|
|
0
mysql-test/r/mrg000002.result
Normal file
0
mysql-test/r/mrg000002.result
Normal file
0
mysql-test/std_data/m.MRG
Normal file
0
mysql-test/std_data/m.MRG
Normal file
BIN
mysql-test/std_data/m.frm
Normal file
BIN
mysql-test/std_data/m.frm
Normal file
Binary file not shown.
2
mysql-test/t/mrg000002.test
Normal file
2
mysql-test/t/mrg000002.test
Normal file
|
@ -0,0 +1,2 @@
|
|||
use test;
|
||||
@r/mrg000002.result select * from m;
|
Loading…
Add table
Reference in a new issue