mariadb/myisam
unknown 863b86db24 Fix for bug #33758: Got query result when using ORDER BY ASC, but
empty result when using DESC

Problem: fetching MyISAM keys we copy a key block pointer to the end of the key buffer.
However, we don't take into account the pointer length calculatig the buffer size,
that may leads to memory overwriting and in turn to unpredictable results.

Fix: increase key buffer size by length of the key block pointer.

Note: no simple test case.


myisam/mi_open.c:
  Fix for bug #33758: Got query result when using ORDER BY ASC, but 
  empty result when using DESC
    - increase possible maximum key length by size of the key block pointer,
      as it's copied into the key buffer in the get_key() MyISAM functions.
2008-02-12 15:12:45 +04:00
..
ftbench
.cvsignore
ChangeLog
CMakeLists.txt CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
ft_boolean_search.c BUG#11392 - fulltext search bug 2007-10-30 14:46:43 +04:00
ft_eval.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_eval.h Many files: 2006-12-23 20:17:15 +01:00
ft_nlq_search.c Fix for bug #31207: Test "join_nested" shows different strategy on IA64 2007-10-17 20:08:58 +04:00
ft_parser.c BUG#31950 - repair table hangs while processing multicolumn utf8 2007-11-01 16:27:01 +04:00
ft_static.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_stem.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_stopwords.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_test1.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_test1.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ft_update.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
ftdefs.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
fulltext.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
make-ccc
Makefile.am my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_cache.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_changed.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_check.c Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-12-13 14:52:49 +04:00
mi_checksum.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_close.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_create.c fixed uninitialized variable introduced by the fix for bug 29325 2007-07-11 12:37:47 +03:00
mi_dbug.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_delete.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_delete_all.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_delete_table.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_dynrec.c Merge mysql.com:/home/hf/work/31305/my41-31305 2007-11-12 13:06:27 +04:00
mi_extra.c BUG#29957 - alter_table.test fails 2007-07-27 14:30:25 +05:00
mi_info.c BUG#27516 - divide by zero crash during optimize table 2007-04-13 12:38:27 +05:00
mi_key.c Fixed bug #29087. This bug manifested itself for queries that performed 2007-06-25 22:44:22 -07:00
mi_keycache.c Many files: 2006-12-23 20:17:15 +01:00
mi_locking.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-03 08:52:50 +01:00
mi_log.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_open.c Fix for bug #33758: Got query result when using ORDER BY ASC, but 2008-02-12 15:12:45 +04:00
mi_packrec.c BUG#31277 - myisamchk --unpack corrupts a table 2007-11-26 14:48:49 +01:00
mi_page.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_panic.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_preload.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_range.c Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-03-28 10:25:51 +02:00
mi_rename.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rfirst.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rkey.c Merge chilla.local:/home/mydev/mysql-4.1-bug29838 2007-08-01 12:02:18 +02:00
mi_rlast.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rnext.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rnext_same.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rprev.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rrnd.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rsame.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_rsamepos.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_scan.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_search.c Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-03-28 10:25:51 +02:00
mi_static.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_statrec.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_test1.c Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 2006-12-31 01:04:07 +01:00
mi_test2.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_test3.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mi_test_all.res Merge chilla.local:/home/mydev/mysql-4.1-bug14400-monty 2006-09-19 11:27:00 +02:00
mi_test_all.sh Backported mi_test_all.sh from 5.1. 2007-07-28 10:25:50 +02:00
mi_unique.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
mi_update.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-03 08:52:50 +01:00
mi_write.c type conversions fixed to avoid warnings on Windows 2007-10-23 14:27:11 +05:00
myisam_ftdump.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisamchk.c Merge mysql.com:/home/svoj/devel/mysql/BUG31277/mysql-4.1-engines 2007-11-14 14:38:26 +04:00
myisamdef.h Merge mysql.com:/home/svoj/devel/mysql/BUG24342/mysql-4.1-engines 2007-04-18 16:22:23 +05:00
myisamlog.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisampack.c Fix for bug #31207: Test "join_nested" shows different strategy on IA64 2007-10-17 20:08:58 +04:00
NEWS
rt_index.c Merge mysql.com:/home/hf/work/30286/my41-30286 2007-10-05 15:41:56 +05:00
rt_index.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_key.c Merge chilla.local:/home/mydev/mysql-4.1-bug25673 2007-03-08 10:10:17 +01:00
rt_key.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_mbr.c Merge mysql.com:/home/hf/work/30286/my41-30286 2007-10-05 15:41:56 +05:00
rt_mbr.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
rt_split.c Merge chilla.local:/home/mydev/mysql-4.1-bug25673 2007-03-08 10:10:17 +01:00
rt_test.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sort.c Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0 2007-12-04 20:58:21 -07:00
sp_defs.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sp_key.c Bug #29070: Error in spatial index 2007-07-09 17:41:24 +03:00
sp_test.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
test_pack
TODO