~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/univ.i

  • Committer: Patrick Crews
  • Date: 2010-12-07 20:02:50 UTC
  • Revision ID: gleebix@gmail.com-20101207200250-6a27jgqalgw5bsb5
Added disabled.def file to disable drizzleslap due to Bug#684269.  Need to skip for tarball release this round

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1994, 2010, Innobase Oy. All Rights Reserved.
4
 
Copyright (C) 2008 Google Inc.
5
 
Copyright (C) 2009 Sun Microsystems, Inc.
 
3
Copyright (c) 1994, 2010, Innobase Oy. All Rights Reserved.
 
4
Copyright (c) 2008, Google Inc.
 
5
Copyright (c) 2009, Sun Microsystems, Inc.
6
6
 
7
7
Portions of this file contain modifications contributed and copyrighted by
8
8
Google, Inc. Those modifications are gratefully acknowledged and are described
52
52
 
53
53
#define INNODB_VERSION_MAJOR    1
54
54
#define INNODB_VERSION_MINOR    1
55
 
#define INNODB_VERSION_BUGFIX   4
 
55
#define INNODB_VERSION_BUGFIX   2
56
56
 
57
57
/* The following is the InnoDB version as shown in
58
58
SELECT plugin_version FROM information_schema.plugins;
84
84
# define ha_innobase ha_innodb
85
85
#endif /* MYSQL_DYNAMIC_PLUGIN */
86
86
 
 
87
/* if any of the following macros are not defined we are missing fundamental
 
88
 * and important symbols
 
89
 */
 
90
#if !defined(HAVE_GCC_ATOMIC_BUILTINS) \
 
91
 && !defined(HAVE_IB_ATOMIC_PTHREAD_T_GCC) \
 
92
 && !defined(HAVE_SOLARIS_ATOMICS) \
 
93
 && !defined(HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS) \
 
94
 && !defined(SIZEOF_PTHREAD_T) \
 
95
 && !defined(IB_HAVE_PAUSE_INSTRUCTION)
 
96
# error There is a problem in the configure setup
 
97
#endif
 
98
 
87
99
#if (defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)) && !defined(MYSQL_SERVER) && !defined(__WIN__)
88
100
# undef __WIN__
89
101
# define __WIN__
138
150
# endif
139
151
 
140
152
# if defined(__GNUC__)
141
 
#  define UNIV_WARN_UNUSED_RESULT_NONNULL __attribute__((nonnull, warn_unused_result))
142
153
#  define UNIV_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
143
154
#else
144
155
#  define UNIV_WARN_UNUSED_RESULT
145
 
#  define UNIV_WARN_UNUSED_RESULT_NONNULL
146
156
#endif
147
157
 
148
158
# ifdef HAVE_PREAD
407
417
/** The generic InnoDB system object identifier data type */
408
418
typedef ib_uint64_t     ib_id_t;
409
419
 
410
 
/* THe 'undefined' value for ullint */
411
 
#define ULLINT_UNDEFINED        ((ullint)(-1))
412
 
 
413
420
/* This 'ibool' type is used within Innobase. Remember that different included
414
421
headers may define 'bool' differently. Do not assume that 'bool' is a ulint! */
415
422
#define ibool                   ulint