~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error_injection.h

  • Committer: Monty Taylor
  • Date: 2009-08-30 00:26:17 UTC
  • mto: (1130.3.4 memory-file-moves)
  • mto: This revision was merged to the branch mainline in revision 1184.
  • Revision ID: mordred@inaugust.com-20090830002617-o57hrj99p6fp1186
Fixed all of the include guards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef ERROR_INJECT_SUPPORT
21
20
/**
22
21
 * @file
23
22
 *
24
23
 * Simple compile-time error injection module to enable easy
25
24
 * error printing in case of a crash
26
25
 */
27
 
#ifndef DRIZZLE_SERVER_ERROR_INJECTION_H
28
 
#define DRIZZLE_SERVER_ERROR_INJECTION_H
 
26
#ifndef DRIZZLED_ERROR_INJECTION_H
 
27
#define DRIZZLED_ERROR_INJECTION_H
29
28
 
 
29
#ifndef ERROR_INJECT_SUPPORT
30
30
/*
31
31
  Error injector Macros to enable easy testing of recovery after failures
32
32
  in various error cases.
114
114
#define ERROR_INJECT_VALUE_CRASH(value) \
115
115
  ERROR_INJECT_VALUE_ACTION(value, (abort(), 0))
116
116
 
117
 
#endif /* DRIZZLE_SERVER_ERROR_INJECTION_H */
118
117
#endif /* ERROR_INJECT_SUPPORT */
 
118
#endif /* DRIZZLED_ERROR_INJECTION_H */