summaryrefslogtreecommitdiff
path: root/myisam/myisampack.c
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-10-22 22:26:57 +0200
committerunknown <lenz@mysql.com>2004-10-22 22:26:57 +0200
commit9b5ef66e0cca8d01e57a7610e9158d91d216c839 (patch)
treecb63a8b08750f6297e84ea0cc00948d3e3089b11 /myisam/myisampack.c
parent4d118af8b46d834a5eb52296a5b30797ba15ccc6 (diff)
downloadmariadb-git-9b5ef66e0cca8d01e57a7610e9158d91d216c839.tar.gz
- applied portability fix for Windows (1ULL -> ULL(1)) to myisampack.c
myisam/myisampack.c: - applied portability fix for Windows (1ULL -> ULL(1))
Diffstat (limited to 'myisam/myisampack.c')
-rw-r--r--myisam/myisampack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/myisampack.c b/myisam/myisampack.c
index b4b4169965d..eae75b07760 100644
--- a/myisam/myisampack.c
+++ b/myisam/myisampack.c
@@ -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