summaryrefslogtreecommitdiff
path: root/mysql-test/create-test-result
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2000-11-25 23:29:01 -0700
committersasha@mysql.sashanet.com <>2000-11-25 23:29:01 -0700
commitdd24015eaca6fc813623f9f87c8478da3701a97b (patch)
treea230abbd46e3341756e3e5629a69736b6a057239 /mysql-test/create-test-result
parentacc8e0c9a2d0419cd3a5fa23f4b5f913e6fdbde6 (diff)
downloadmariadb-git-dd24015eaca6fc813623f9f87c8478da3701a97b.tar.gz
Fixed temp tables to work with replication. It will not work if you stop the slave
while slave thread has temp tables - not hard to fix though, but it is time to go to bed added a new test case for temp table replication and Slave_open_temp_tables status variable. Misc fixes
Diffstat (limited to 'mysql-test/create-test-result')
-rwxr-xr-xmysql-test/create-test-result8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/create-test-result b/mysql-test/create-test-result
index 08ca7a71921..24c3d175303 100755
--- a/mysql-test/create-test-result
+++ b/mysql-test/create-test-result
@@ -6,7 +6,7 @@
# to start mysqld yourself and run mysqltest -r
RESULT_DIR=r/3.23
-if [ -z $EDITOR] then;
+if [ -z $EDITOR] ; then
EDITOR=vi
fi
@@ -26,7 +26,7 @@ test_name=$1
[ -z $test_name ] && usage
-result_file=$result_dir/$test_name.result
+result_file=$RESULT_DIR/$test_name.result
[ -f $result_file ] && die "result file $result_file has already been created"
@@ -39,11 +39,11 @@ reject_file=$result_file.reject
if [ -f $reject_file ] ; then
echo "Below are the contents of the reject file:"
echo "-----start---------------------"
- cat $result_file.
+ cat $reject_file
echo "-----end-----------------------"
echo "Is this the output you expected from your test case?(y/n)[n]"
read yes_no
- if [ x$yes_no = xy ] then;
+ if [ x$yes_no = xy ] ; then
echo "Press any key to edit it in $EDITOR, or Ctrl-C to abort"
read junk
$EDITOR $reject_file