Commit cc316ee1 authored by unknown's avatar unknown

Merge

parents 423448e2 f2abb743
...@@ -68,10 +68,6 @@ SLAVE_RUNNING=0 ...@@ -68,10 +68,6 @@ SLAVE_RUNNING=0
[ -d $MY_TMP_DIR ] || mkdir -p $MY_TMP_DIR [ -d $MY_TMP_DIR ] || mkdir -p $MY_TMP_DIR
[ -z "$COLUMNS" ] && COLUMNS=80
E=`expr $COLUMNS - 8`
DASH72=`expr substr '________________________________________________________________________' 1 $E`
#++ #++
# mysqld Environment Parameters # mysqld Environment Parameters
#-- #--
...@@ -113,6 +109,11 @@ TIME=/usr/bin/time ...@@ -113,6 +109,11 @@ TIME=/usr/bin/time
TR=/usr/bin/tr TR=/usr/bin/tr
XARGS=`which xargs | head -1` XARGS=`which xargs | head -1`
[ -z "$COLUMNS" ] && COLUMNS=80
E=`$EXPR $COLUMNS - 8`
#DASH72=`expr substr '________________________________________________________________________' 1 $E`
DASH72=`$ECHO '________________________________________________________________________'|$CUT -c 1-$E`
# on source dist, we pick up freshly build executables # on source dist, we pick up freshly build executables
# on binary, use what is installed # on binary, use what is installed
if [ x$SOURCE_DIST = x1 ] ; then if [ x$SOURCE_DIST = x1 ] ; then
...@@ -469,7 +470,7 @@ run_testcase () ...@@ -469,7 +470,7 @@ run_testcase ()
fi fi
timestr="$USERT $SYST $REALT" timestr="$USERT $SYST $REALT"
pname=`$EXPR substr "$tname " 1 16` pname=`$ECHO "$tname "|$CUT -c 1-16`
$SETCOLOR_NORMAL && $ECHO -n "$pname $timestr" $SETCOLOR_NORMAL && $ECHO -n "$pname $timestr"
......
...@@ -325,11 +325,6 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select, ...@@ -325,11 +325,6 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select,
file->rnd_init(); file->rnd_init();
file->extra(HA_EXTRA_CACHE); /* Quicker reads */ file->extra(HA_EXTRA_CACHE); /* Quicker reads */
} }
else if (quick_select) // QQ For FULLTEXT
{ // QQ Should be removed soon
file->index_end();
select->quick->init();
}
for (;;) for (;;)
{ {
......
...@@ -2247,8 +2247,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond) ...@@ -2247,8 +2247,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
{ {
/* Use quick key read if it's a constant and it's not used /* Use quick key read if it's a constant and it's not used
with key reading */ with key reading */
if (tab->needed_reg == 0 && tab->type != JT_EQ_REF && if (tab->needed_reg == 0 && tab->type != JT_EQ_REF
(tab->type != JT_REF || && tab->type != JT_FT && (tab->type != JT_REF ||
(uint) tab->ref.key == tab->quick->index)) (uint) tab->ref.key == tab->quick->index))
{ {
sel->quick=tab->quick; // Use value from get_quick_... sel->quick=tab->quick; // Use value from get_quick_...
......
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