~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/ut0ut.h

Merge Stewart - fix bug 587772: READ COMMITTED isolation level doesn't work (at least with InnoDB)

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.
 
3
Copyright (c) 1994, 2009, Innobase Oy. All Rights Reserved.
4
4
Copyright (c) 2009, Sun Microsystems, Inc.
5
5
 
6
6
Portions of this file contain modifications contributed and copyrighted by
35
35
 
36
36
#include "univ.i"
37
37
 
38
 
#include "db0err.h"
39
 
 
40
38
#ifndef UNIV_HOTBACKUP
41
39
# include "os0sync.h" /* for HAVE_ATOMIC_BUILTINS */
42
40
#endif /* UNIV_HOTBACKUP */
397
395
# define ut_snprintf    snprintf
398
396
#endif /* __WIN__ */
399
397
 
400
 
/*************************************************************//**
401
 
Convert an error number to a human readable text message. The
402
 
returned string is static and should not be freed or modified.
403
 
@return string, describing the error */
404
 
UNIV_INTERN
405
 
const char*
406
 
ut_strerr(
407
 
/*======*/
408
 
        enum db_err     num);   /*!< in: error number */
409
 
 
410
398
#ifndef UNIV_NONINL
411
399
#include "ut0ut.ic"
412
400
#endif