~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: lbieber at stabletransit
  • Date: 2010-10-19 14:03:27 UTC
  • mfrom: (1861.1.2 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101019140327-2jvt5j2wi4pzhm1z
Merge Brian - Small collection of cleanups/refactor'ing around locks
Merge Monty - fix a few things in the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1996, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
28
28
 
29
29
 
30
30
enum db_err {
31
 
        DB_SUCCESS_LOCKED_REC = 9,      /*!< like DB_SUCCESS, but a new
32
 
                                        explicit record lock was created */
33
31
        DB_SUCCESS = 10,
34
32
 
35
33
        /* The following are error codes */
95
93
        DB_PRIMARY_KEY_IS_NULL,         /* a column in the PRIMARY KEY
96
94
                                        was found to be NULL */
97
95
 
98
 
        DB_STATS_DO_NOT_EXIST,          /* an operation that requires the
99
 
                                        persistent storage, used for recording
100
 
                                        table and index statistics, was
101
 
                                        requested but this storage does not
102
 
                                        exist itself or the stats for a given
103
 
                                        table do not exist */
104
 
        DB_FOREIGN_EXCEED_MAX_CASCADE,  /* Foreign key constraint related
105
 
                                        cascading delete/update exceeds
106
 
                                        maximum allowed depth */
107
 
        DB_CHILD_NO_INDEX,              /* the child (foreign) table does not
108
 
                                        have an index that contains the
109
 
                                        foreign keys as its prefix columns */
110
 
        DB_PARENT_NO_INDEX,             /* the parent table does not
111
 
                                        have an index that contains the
112
 
                                        foreign keys as its prefix columns */
113
 
 
114
96
        /* The following are partial failure codes */
115
97
        DB_FAIL = 1000,
116
98
        DB_OVERFLOW,