summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <monty@bitch.mysql.fi>2001-08-18 13:11:58 +0300
committerunknown <monty@bitch.mysql.fi>2001-08-18 13:11:58 +0300
commite9ec978e2d58b9fab1871bcb7c223cc9f919a3d7 (patch)
treecc848edf595faefaf9ac88832aa6e8a7e884d36f /mysys
parentf6751dd8db31161f6eaa0a80aa8cf1b8f9c930c3 (diff)
downloadmariadb-git-e9ec978e2d58b9fab1871bcb7c223cc9f919a3d7.tar.gz
Fix for bug in the Sun Workshop compiler
BUILD/compile-solaris-sparc-purify: Build for purify, quantify and purecoverage
Diffstat (limited to 'mysys')
-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);