summaryrefslogtreecommitdiff
path: root/myisammrg
diff options
context:
space:
mode:
Diffstat (limited to 'myisammrg')
-rw-r--r--myisammrg/myrg_extra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisammrg/myrg_extra.c b/myisammrg/myrg_extra.c
index d375b45df99..62cf5f01aba 100644
--- a/myisammrg/myrg_extra.c
+++ b/myisammrg/myrg_extra.c
@@ -33,7 +33,7 @@ int myrg_extra(MYRG_INFO *info,enum ha_extra_function function,
if (function == HA_EXTRA_CACHE)
{
info->cache_in_use=1;
- info->cache_size= (extra_arg ? *(long*) extra_arg :
+ info->cache_size= (extra_arg ? *(ulong*) extra_arg :
my_default_record_cache_size);
}
else