Commit aca566d7 authored by Sujatha Sivakumar's avatar Sujatha Sivakumar

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

"warning: integer constant is too large for 'long' type"
parent 39ddd896
...@@ -1532,7 +1532,7 @@ int _my_b_write(register IO_CACHE *info, const uchar *Buffer, size_t Count) ...@@ -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", 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) if (pos_in_file+info->buffer_length > info->end_of_file)
{ {
......
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