Commit 060fc681 authored by unknown's avatar unknown

- applied portability fix for Windows (1ULL -> ULL(1)) to myisampack.c


myisam/myisampack.c:
   - applied portability fix for Windows (1ULL -> ULL(1))
parent 7275d29e
......@@ -2050,7 +2050,7 @@ static int save_state(MI_INFO *isam_file,PACK_MRG_INFO *mrg,my_off_t new_length,
share->state.dellink= HA_OFFSET_ERROR;
share->state.split=(ha_rows) mrg->records;
share->state.version=(ulong) time((time_t*) 0);
if (share->state.key_map != (1ULL << share->base.keys) - 1)
if (share->state.key_map != (ULL(1) << share->base.keys) - 1)
{
/*
Some indexes are disabled, cannot use current key_file_length value
......
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