summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/nosik.monty.fi>2007-11-21 12:13:27 +0200
committerunknown <monty@mysql.com/nosik.monty.fi>2007-11-21 12:13:27 +0200
commit63cd7bdcd5f95ed08b521099157ff4c61fa62bc3 (patch)
tree385ee419d012ba8502f1eb66702a62a434428e6f /sql/unireg.cc
parent9f1aaeffbb83d73bbe302056ea29ccb1fa1be3f4 (diff)
downloadmariadb-git-63cd7bdcd5f95ed08b521099157ff4c61fa62bc3.tar.gz
Fixed errors found by valgrind
Changed bitmaps to be written before unpinning of pages in write_block_record() Log handler now assumes we never call it for not transactional tables Fixed bug in ma_test_all that caused it to fail sql/unireg.cc: Removed 'at', as this makes it hard to find valgrind errors from the debug log storage/maria/ma_blockrec.c: Changed bzero() of blocks to get rid of a (non critical) valgrind error Changed bitmaps to be written before unpinning of pages in write_block_record() fixed that we don't log tails if table isn't transactional storage/maria/ma_key_recover.c: Fixed wrong log_data[] that caused us to log uninitialized data storage/maria/ma_loghandler.c: Replaced not needed test with DBUG_ASSERT() storage/maria/ma_test_all.sh: Remove control file if block size changes
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index da52889fb2f..ae7d3d9d062 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -471,7 +471,7 @@ static uint pack_keys(uchar *keybuff, uint key_count, KEY *keyinfo,
int2store(pos+6, key->block_size);
pos+=8;
key_parts+=key->key_parts;
- DBUG_PRINT("loop", ("flags: %d key_parts: %d at 0x%lx",
+ DBUG_PRINT("loop", ("flags: %d key_parts: %d key_part: 0x%lx",
key->flags, key->key_parts,
(long) key->key_part));
for (key_part=key->key_part,key_part_end=key_part+key->key_parts ;