Files
libreoffice/external/mariadb-connector-c/mariadb-inline.patch.1
Michael Stahl 871d75e9c2 consistent naming of externals: libmariadb -> mariadb-connector-c
The used version is actually named mariadb_client but since 2.1.0
upstream calls it MariaDB Connector/C.

Change-Id: I51b12a9be55151919585dec91a5fc802ff4fc86b
Reviewed-on: https://gerrit.libreoffice.org/42295
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-15 10:59:56 +02:00

24 lines
584 B
Groff

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;