1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed high-impact Windows 64bit warnings (at least 4000 of them)

This commit is contained in:
Vladislav Vaintroub
2011-02-19 13:43:01 +01:00
parent 28cb3b85b9
commit 70a7e97e3c
6 changed files with 9 additions and 9 deletions

View File

@ -398,7 +398,7 @@ protected:
virtual uint aux_buffer_incr(ulong recno);
/* Shall calculate how much space is remaining in the join buffer */
virtual ulong rem_space()
virtual size_t rem_space()
{
return max(buff_size-(end_pos-buff)-aux_buff_size,0);
}
@ -576,7 +576,7 @@ public:
virtual int init();
/* Get the current size of the cache join buffer */
ulong get_join_buffer_size() { return buff_size; }
size_t get_join_buffer_size() { return buff_size; }
/* Set the size of the cache join buffer to a new value */
void set_join_buffer_size(size_t sz) { buff_size= sz; }
@ -921,7 +921,7 @@ protected:
Calculate how much space in the buffer would not be occupied by
records, key entries and additional memory for the MMR buffer.
*/
ulong rem_space()
size_t rem_space()
{
return max(last_key_entry-end_pos-aux_buff_size,0);
}