summaryrefslogtreecommitdiff
path: root/mysys/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/hash.c')
-rw-r--r--mysys/hash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index dba910ee4ae..acb5a9b4310 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -178,7 +178,10 @@ uint calc_hashnr_caseup(const byte *key, uint len)
#endif
-inline uint rec_hashnr(HASH *hash,const byte *record)
+#ifndef _FORTREC_
+inline
+#endif
+uint rec_hashnr(HASH *hash,const byte *record)
{
uint length;
byte *key=hash_key(hash,record,&length,0);