summaryrefslogtreecommitdiff
path: root/mysys/hash.c
diff options
context:
space:
mode:
authormonty@bitch.mysql.fi <>2001-08-18 13:11:58 +0300
committermonty@bitch.mysql.fi <>2001-08-18 13:11:58 +0300
commit2eacfdddf2e1595f3c616bf7b79d71f7fd0fb617 (patch)
treecc848edf595faefaf9ac88832aa6e8a7e884d36f /mysys/hash.c
parentbfbc3252e18a17c12fa48a12f01a0223aed123af (diff)
downloadmariadb-git-2eacfdddf2e1595f3c616bf7b79d71f7fd0fb617.tar.gz
Fix for bug in the Sun Workshop compiler
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 66fa91811b5..c05379ef4ce 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -180,7 +180,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);