Commit daed6ff0 authored by unknown's avatar unknown

Removed purify warning

Remove temporary files before starting mysql-test


innobase/pars/pars0opt.c:
  Removed purify warning
mysql-test/mysql-test-run.sh:
  remove temporary files before starting
parent caa13ea3
......@@ -373,7 +373,8 @@ opt_calc_index_goodness(
}
}
if (index->type & DICT_CLUSTERED) {
/* We have to test for goodness here, as last_op may note be set */
if (goodness && index->type & DICT_CLUSTERED) {
goodness++;
}
......
......@@ -653,7 +653,11 @@ start_master()
$RM -f $MASTER_MYDDIR/log.*
# Remove stale binary logs
$RM -f $MYSQL_TEST_DIR/var/log/master-bin.*
# Remove files that can cause problems
$RM -f $MYSQL_TEST_DIR/var/run/* $MYSQL_TEST_DIR/var/tmp/*
#run master initialization shell script if one exists
if [ -f "$master_init_script" ] ;
then
/bin/sh $master_init_script
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment