summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2000-12-12 08:24:50 -0700
committersasha@mysql.sashanet.com <>2000-12-12 08:24:50 -0700
commitca5e1f6d959ed8f027734d85b622a543db5c0418 (patch)
treea12aff4e09343a84c92b6f43a1c8f0c8d144c473 /mysql-test
parent36c7d4eb024fc36b6bf6b54d68ada84cfd1cd42c (diff)
downloadmariadb-git-ca5e1f6d959ed8f027734d85b622a543db5c0418.tar.gz
test case for a coredump on merge tables. Sergei or Monty, can you fix this?
Diffstat (limited to 'mysql-test')
-rwxr-xr-xmysql-test/mysql-test-run16
-rw-r--r--mysql-test/r/mrg000002.result0
-rw-r--r--mysql-test/std_data/m.MRG0
-rw-r--r--mysql-test/std_data/m.frmbin0 -> 8548 bytes
-rw-r--r--mysql-test/t/mrg000002.test2
5 files changed, 11 insertions, 7 deletions
diff --git a/mysql-test/mysql-test-run b/mysql-test/mysql-test-run
index 111dd0b41cc..2cece3f3312 100755
--- a/mysql-test/mysql-test-run
+++ b/mysql-test/mysql-test-run
@@ -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
diff --git a/mysql-test/r/mrg000002.result b/mysql-test/r/mrg000002.result
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/mysql-test/r/mrg000002.result
diff --git a/mysql-test/std_data/m.MRG b/mysql-test/std_data/m.MRG
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/mysql-test/std_data/m.MRG
diff --git a/mysql-test/std_data/m.frm b/mysql-test/std_data/m.frm
new file mode 100644
index 00000000000..fc684891d9e
--- /dev/null
+++ b/mysql-test/std_data/m.frm
Binary files differ
diff --git a/mysql-test/t/mrg000002.test b/mysql-test/t/mrg000002.test
new file mode 100644
index 00000000000..88da6311cc1
--- /dev/null
+++ b/mysql-test/t/mrg000002.test
@@ -0,0 +1,2 @@
+use test;
+@r/mrg000002.result select * from m;