mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 04:05:32 +02:00
- Fix compiler warning
- Better warnings
This commit is contained in:
parent
eafc4bef33
commit
802db7a64b
2 changed files with 8 additions and 1 deletions
|
|
@ -1122,7 +1122,7 @@ bool DsMrr_impl::setup_buffer_sharing(uint key_size_in_keybuf,
|
|||
(ulonglong2double(rowids_size) + key_buff_elem_size));
|
||||
|
||||
size_t bytes_for_rowids=
|
||||
round(fraction_for_rowids * (full_buf_end - full_buf));
|
||||
(size_t)round(fraction_for_rowids * (full_buf_end - full_buf));
|
||||
|
||||
long bytes_for_keys= (full_buf_end - full_buf) - bytes_for_rowids;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue