From e2cf3f8e4501befbae0f785a422cb832fb3466c2 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 31 Jul 2002 18:02:24 +0300 Subject: Fixed wrong printf() string in InnoDB Removed some compiler warnings regarding 'static' from InnoDB Docs/manual.texi: Fixed wrong manual entry innobase/btr/btr0cur.c: Fixed wrong printf() string innobase/include/univ.i: Removed compiler warnings (static inline produces a lot of warnings and is probably not portable) --- innobase/btr/btr0cur.c | 2 +- innobase/include/univ.i | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'innobase') diff --git a/innobase/btr/btr0cur.c b/innobase/btr/btr0cur.c index 50f9584e86d..6caf940b34d 100644 --- a/innobase/btr/btr0cur.c +++ b/innobase/btr/btr0cur.c @@ -808,7 +808,7 @@ btr_cur_optimistic_insert( if (!dtuple_check_typed_no_assert(entry)) { fprintf(stderr, -"InnoDB: Error in a tuple to insert into table %lu index %lu\n", +"InnoDB: Error in a tuple to insert into table %s index %s\n", index->table_name, index->name); } diff --git a/innobase/include/univ.i b/innobase/include/univ.i index 4c1ca929aa8..8a9637acfda 100644 --- a/innobase/include/univ.i +++ b/innobase/include/univ.i @@ -116,7 +116,7 @@ memory is read outside the allocated blocks. */ #define UNIV_INLINE extern inline #else /* extern inline doesn't work with gcc 3.0.2 */ -#define UNIV_INLINE static inline +#define UNIV_INLINE inline #endif #endif -- cgit v1.2.1