diff options
author | Guilhem Bichot <guilhem@mysql.com> | 2008-06-10 15:44:41 +0200 |
---|---|---|
committer | Guilhem Bichot <guilhem@mysql.com> | 2008-06-10 15:44:41 +0200 |
commit | f89c61f5bbb45ae056bae0aee20317a019de6f66 (patch) | |
tree | ad9131ce3628e8558a9f715bc2711ba174de739c /include/my_global.h | |
parent | 54b719a2c62bf81e3451336b1cfe10faff1756a6 (diff) | |
download | mariadb-git-f89c61f5bbb45ae056bae0aee20317a019de6f66.tar.gz |
Fix for Valgrind errors when running rt_test and ma_rt_test, and segmentation fault
in ma_rt_test -M (BUG#36321); keyinfo/recinfo/keyseg had non-initialized parts.
maria_scan() was not wrapped in maria_scan_init()/end() so "ma_rt_test -M" found no rows.
Preparing for inclusion into ma_test_all-t and ma_test_recovery.pl (still prevented by
BUG#37307 "Maria: R-tree unit test produces corrupted table").
storage/maria/ma_rt_test.c:
Some members of keyinfo, recinfo, keyseg had non-initialized parts, led to Valgrind errors,
and also segmentation fault when running with -M (=BLOCK_RECORD) (BUG#36321).
We now bzero them like they are in mi_test1.
Other problems:
- maria_scan() was not wrapped in maria_scan_init()/end() so "ma_rt_test -M" found no rows.
- --silent had almost no effect, now it really silences normal output.
- Some errors were going to stdout, they now go to stderr.
Added option for testing versioning, to fit well into ma_test_all-t.
storage/maria/unittest/ma_test_all-t:
preparing for running ma_rt_test when ma_rt_test remaining bugs are fixed
storage/maria/unittest/ma_test_recovery.pl:
preparing for running ma_rt_test when ma_rt_test remaining bugs are fixed
storage/myisam/rt_test.c:
Some members of keyinfo, recinfo, keyseg were not initialized, led to Valgrind errors.
We now bzero them like they are in mi_test1.
Diffstat (limited to 'include/my_global.h')
0 files changed, 0 insertions, 0 deletions