blob: 84ebc814069e2ee817c23786d47a00ea5badddbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -ur mariadb.org/libmariadb/hash.c mariadb/libmariadb/hash.c
--- mariadb.org/libmariadb/hash.c 2014-09-03 14:57:29.000000000 +0200
+++ mariadb/libmariadb/hash.c 2014-09-03 14:59:09.000000000 +0200
@@ -94,7 +94,7 @@
handle inline functions that are not defined as native types
*/
-inline char*
+uchar*
hash_key(HASH *hash,const uchar *record,uint *length,my_bool first)
{
if (hash->get_key)
@@ -191,9 +191,6 @@
#endif
-#ifndef __SUNPRO_C /* SUNPRO can't handle this */
-inline
-#endif
unsigned int rec_hashnr(HASH *hash,const uchar *record)
{
uint length;
|