summaryrefslogtreecommitdiff
path: root/myisammrg
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-04-28 19:05:57 +0300
committerunknown <monty@mashka.mysql.fi>2003-04-28 19:05:57 +0300
commit68faea2eaa718bf3fe46e1c3f328346f7fd92f7e (patch)
tree96d5e3ccb7f58564a76e77f8eb11b497988864dc /myisammrg
parent8a05f5c7f497ff483f711dee55d3a1e7f5fe7e6a (diff)
downloadmariadb-git-68faea2eaa718bf3fe46e1c3f328346f7fd92f7e.tar.gz
Fix to remove compiler warnings
include/my_global.h: Fixed wrong #ifdef include/violite.h: Fix to remove compiler warning libmysqld/libmysqld.c: Fix to remove compiler warning myisam/sort.c: Fix to remove compiler warning myisammrg/myrg_extra.c: Fix to remove compiler warning vio/viossl.c: Fix to remove compiler warning
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