Commit 096666fc authored by Michael Widenius's avatar Michael Widenius

Fixed compilation failure and added some new suppressions

storage/maria/ma_blockrec.c:
  Fixed compilation failure
support-files/compiler_warnings.supp:
  Added suppressions for pbxt
parent 66ee158b
......@@ -1515,10 +1515,10 @@ void _ma_compact_block_page(uchar *buff, uint block_size, uint rownr,
if (rownr != max_entry - 1)
{
DBUG_ASSERT(extend_block);
/* Move all entries after rownr to end of page */
uint rownr_length;
DBUG_ASSERT(extend_block); /* Should always be true */
next_free_pos= end_of_found_block= page_pos=
block_size - DIR_ENTRY_SIZE * max_entry - PAGE_SUFFIX_SIZE;
diff= 0;
......
......@@ -127,6 +127,8 @@ storage/maria/ma_pagecache.c: .*'info_check_pin' defined but not used
# Pbxt
#
xaction_xt\.cc: may be used uninitialized in this function
lock_xt\.cc : uninitialized local variable .* used
restart_xt\.cc : dereferencing pointer .* does break strict-aliasing
#
# I think these are due to mix of C and C++.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment