MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
unknown 7a3148a7aa Bug #24778: Innodb: No result when using ORDER BY
This bug was intruduced by the fix for bug#17212 (in 4.1). It is not 
ok to call test_if_skip_sort_order since this function will 
alter the execution plan. By contract it is not ok to call 
test_if_skip_sort_order in this context.

This bug appears only in the case when the optimizer has chosen 
an index for accessing a particular table but finds a covering 
index that enables it to skip ORDER BY. This happens in 
test_if_skip_sort_order.


mysql-test/r/key.result:
  Bug#24778
  
  test case.
  
  The bug causes the result to be the empty set.
mysql-test/t/key.test:
  Bug#24778
  
  The minimal test case that reveals the bug. The reason for such a 
  complicated schema is that we have to convince the optimizer to 
  pick one index, then discard it in order to be able to skip 
  ORDER BY.
sql/sql_select.cc:
  bug#24778
  
  Removed the call to test_if_skip_sort_order that constituted the
  bug.
2007-03-14 12:15:14 +01:00
BitKeeper Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug25807/my50-bug25807 2007-02-13 17:21:50 -05:00
BUILD Merge bk@192.168.21.1:mysql-5.1 2007-03-08 22:04:17 +04:00
client Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint 2007-03-08 14:48:11 +01:00
cmd-line-utils Fixed compiler warnings. 2007-02-28 22:23:35 +02:00
config/ac-macros files are in storage/ndb in 5.1. fix merge from 5.0 2007-01-19 17:06:53 -08:00
dbug Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-02-03 00:58:09 +02:00
Docs Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-build 2007-02-28 22:34:34 +01:00
extra Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 2007-03-08 08:17:12 +01:00
include Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-03-07 07:21:24 +01:00
libmysql Merge siva.hindu.god:/home/tsmith/m/bk/maint/mar05/50 2007-03-06 15:36:07 -07:00
libmysql_r my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
libmysqld Fixed compilations problems and warnings on windows 2007-02-23 22:48:15 +02:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql-test Bug #24778: Innodb: No result when using ORDER BY 2007-03-14 12:15:14 +01:00
mysys Merge recycle.(none):/src/bug25222/my50-bug25222 2007-03-07 10:51:25 -05:00
netware Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
plugin Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-02-03 00:58:09 +02:00
pstack my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
regex Many files: 2006-12-31 02:29:11 +01:00
scripts Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build 2007-03-08 01:00:49 +01:00
server-tools Merge BUG: Windows target won't compile. 2007-03-02 09:04:23 +01:00
sql Bug #24778: Innodb: No result when using ORDER BY 2007-03-14 12:15:14 +01:00
sql-bench Fixed compiler warnings 2007-02-23 13:13:55 +02:00
sql-common Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2007-03-05 12:04:37 +04:00
storage Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt 2007-03-09 17:54:13 +02:00
strings Fixes for compiler warnings. 2007-02-27 11:27:04 +02:00
support-files Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 2007-03-07 23:05:46 +01:00
tests Fixed compiler warnings 2007-02-23 13:13:55 +02:00
unittest base64-t.c: 2007-02-21 18:17:32 +01:00
vio Fixed compiler warnings 2007-02-23 13:13:55 +02:00
win Remove compiler warnings 2007-02-27 19:31:49 +02:00
zlib Many files: 2006-12-31 02:29:11 +01:00
.bzrignore Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.1 2007-03-01 14:53:32 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt Many files: 2006-12-31 02:29:11 +01:00
configure.in The most recent push into mysql-5.1 from mysql-5.2 was a mistake. 2007-03-08 18:38:17 +01:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
EXCEPTIONS-CLIENT Makefile.am: 2007-02-28 22:09:09 +01:00
Makefile.am Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-01-24 14:43:09 -07:00
README make_binary_distribution.sh: 2006-11-07 22:26:37 +01:00

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading chapter.
- For the new features/bugfix history, see the Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.