summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-12-16 02:43:35 +0300
committerunknown <konstantin@mysql.com>2004-12-16 02:43:35 +0300
commitb857b6e763d8cd2329c48911a0e82d5506d3d184 (patch)
tree5f01fe78073ad00e5c6e846f7b1ba83cf7fb8fa9 /mysys
parent83fce55a3ae79c0033e372cb7ec48a3248307d6e (diff)
downloadmariadb-git-b857b6e763d8cd2329c48911a0e82d5506d3d184.tar.gz
myisam/sort.c:my_var_write and mysys/hash.c:hash_key made static inline,
not simply inline, to fix the linking failure on Sun Solaris 9 (sparc) with Sun Studio 9, reported by Peter Harvey. myisam/sort.c: my_var_write made static inline (fix for a link failure) mysys/hash.c: hash_key made static inline (fix a link failure)
Diffstat (limited to 'mysys')
-rw-r--r--mysys/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index d068299d44e..451bc1eb7f5 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -146,7 +146,7 @@ void hash_reset(HASH *hash)
handle inline functions that are not defined as native types
*/
-inline char*
+static inline char*
hash_key(HASH *hash,const byte *record,uint *length,my_bool first)
{
if (hash->get_key)