~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/srv/srv0start.c

  • Committer: Kristian Nielsen
  • Date: 2009-01-07 14:35:39 UTC
  • mto: (779.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: knielsen@odin-20090107143539-kjous9qd0fo5ezgs
Fix a few warnings when building with -DHAVE_purify

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
#define SRV_MAX_N_PENDING_SYNC_IOS      100
101
101
 
102
102
 
103
 
/* Avoid warnings when using purify */
104
 
 
105
 
#ifdef HAVE_purify
106
 
static int inno_bcmp(register const char *s1, register const char *s2,
107
 
        register uint len)
108
 
{
109
 
        while ((len-- != 0) && (*s1++ == *s2++))
110
 
                ;
111
 
 
112
 
        return(len + 1);
113
 
}
114
 
#define memcmp(A,B,C) inno_bcmp((A),(B),(C))
115
 
#endif
116
 
 
117
103
static
118
104
char*
119
105
srv_parse_megabytes(