Follow up patch for BUG#13961678. Fixing compilation warning given below.

"warning: integer constant is too large for 'long' type"
This commit is contained in:
Sujatha Sivakumar 2012-07-25 14:56:37 +05:30
parent 11af85aea9
commit a0e448c4d4

View File

@ -1532,7 +1532,7 @@ int _my_b_write(register IO_CACHE *info, const uchar *Buffer, size_t Count)
DBUG_EXECUTE_IF("simulate_huge_load_data_file",
{
pos_in_file=5000000000;
pos_in_file=(my_off_t)(5000000000ULL);
});
if (pos_in_file+info->buffer_length > info->end_of_file)
{