mariadb/myisam
Satya B ca873cd7c7 Fix for BUG#41541 - Valgrind warnings on packed MyISAM table
After the table is compressed by the myisampack utility,
opening the table by the server produces valgrind warnings.
      
This happens because when we try to read a record into the buffer
we alway assume that the remaining buffer to read is always equal 
to word size(4 or 8 or 2 bytes) we read. Sometimes we have 
remaining buffer size less than word size and trying to read the 
entire word size will end up in valgrind errors.
            
Fixed by reading byte by byte when we detect the remaining buffer 
size is less than the word size.

myisam/mi_packrec.c:
  Fixed fill_buffer() to read byte by byte when the remaining 
  buffer size is less than word size.
mysql-test/r/myisampack.result:
  Result file for BUG#41541
mysql-test/t/myisampack.test:
  Testcase for BUG#41541
2009-03-25 14:45:53 +05:30
..
ftbench
.cvsignore
ChangeLog
CMakeLists.txt
ft_boolean_search.c
ft_eval.c
ft_eval.h
ft_nlq_search.c
ft_parser.c
ft_static.c
ft_stem.c
ft_stopwords.c
ft_test1.c
ft_test1.h
ft_update.c
ftdefs.h
fulltext.h
make-ccc
Makefile.am
mi_cache.c
mi_changed.c
mi_check.c
mi_checksum.c
mi_close.c
mi_create.c
mi_dbug.c
mi_delete.c
mi_delete_all.c
mi_delete_table.c
mi_dynrec.c
mi_extra.c
mi_info.c
mi_key.c
mi_keycache.c
mi_locking.c
mi_log.c
mi_open.c
mi_packrec.c
mi_page.c
mi_panic.c
mi_preload.c
mi_range.c
mi_rename.c
mi_rfirst.c
mi_rkey.c
mi_rlast.c
mi_rnext.c
mi_rnext_same.c
mi_rprev.c
mi_rrnd.c
mi_rsame.c
mi_rsamepos.c
mi_scan.c
mi_search.c
mi_static.c
mi_statrec.c
mi_test1.c
mi_test2.c
mi_test3.c
mi_test_all.res
mi_test_all.sh
mi_unique.c
mi_update.c
mi_write.c
myisam_ftdump.c
myisamchk.c
myisamdef.h
myisamlog.c
myisampack.c
NEWS
rt_index.c
rt_index.h
rt_key.c
rt_key.h
rt_mbr.c
rt_mbr.h
rt_split.c
rt_test.c
sort.c
sp_defs.h
sp_key.c
sp_test.c
test_pack
TODO