mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Implement ORDER BY DESC optimization, which reads values in descending
order directly from the index instead of using a filesort. mysql-test/mysql-test-run.sh: [ -n $SKIP_TEST ] --> [ -n "$SKIP_TEST" ]; portability fix mysql-test/r/order_by.result: Added test for ORDER BY DESC optimization mysql-test/t/order_by.test: Added test for ORDER BY DESC optimization sql/opt_range.cc: Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization. sql/opt_range.h: Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization. sql/sql_select.cc: Added QUICK_SELECT_DESC class which implements ORDER BY DESC optimization. BitKeeper/etc/ignore: Added .gdbinit .vimrc to the ignore list BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
@ -250,7 +250,7 @@ fi
|
||||
|
||||
[ -z "$COLUMNS" ] && COLUMNS=80
|
||||
E=`$EXPR $COLUMNS - 8`
|
||||
#DASH72=`expr substr '------------------------------------------------------------------------' 1 $E`
|
||||
#DASH72=`$EXPR substr '------------------------------------------------------------------------' 1 $E`
|
||||
DASH72=`$ECHO '------------------------------------------------------------------------'|$CUT -c 1-$E`
|
||||
|
||||
# on source dist, we pick up freshly build executables
|
||||
@ -667,7 +667,7 @@ run_testcase ()
|
||||
slave_init_script=$TESTDIR/$tname-slave.sh
|
||||
slave_master_info_file=$TESTDIR/$tname-slave-master-info.opt
|
||||
SKIP_SLAVE=`$EXPR \( $tname : rpl \) = 0`
|
||||
if [ -n $SKIP_TEST ] ; then
|
||||
if [ -n "$SKIP_TEST" ] ; then
|
||||
SKIP_THIS_TEST=`$EXPR \( $tname : "$SKIP_TEST" \) != 0`
|
||||
if [ x$SKIP_THIS_TEST = x1 ] ;
|
||||
then
|
||||
|
Reference in New Issue
Block a user