summaryrefslogtreecommitdiff
path: root/myisam/mi_static.c
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2009-12-17 09:55:03 +0400
committerRamil Kalimullin <ramil@mysql.com>2009-12-17 09:55:03 +0400
commit06be03f77cc1dbd3f52232d98fbab2d220d93fc5 (patch)
tree17b60492661de220496131e2103e30837a6d579c /myisam/mi_static.c
parentb72f27895826552f0bfe5019559f35cf634e0ffe (diff)
downloadmariadb-git-06be03f77cc1dbd3f52232d98fbab2d220d93fc5.tar.gz
Fix for bug#49465: valgrind warnings and incorrect live checksum...
Problem: inserting a record we don't set unused null bits in the record buffer if no default field values used. That may lead to wrong live checksum calculation. Fix: set unused null bits in the record buffer in such cases. mysql-test/r/myisam.result: Fix for bug#49465: valgrind warnings and incorrect live checksum... - test result. mysql-test/t/myisam.test: Fix for bug#49465: valgrind warnings and incorrect live checksum... - test case. sql/sql_insert.cc: Fix for bug#49465: valgrind warnings and incorrect live checksum... - set unused null bits to 1 in the record buffer in case we don't call restore_record() before a fill_record() call (when no default values used).
Diffstat (limited to 'myisam/mi_static.c')
0 files changed, 0 insertions, 0 deletions