~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error_t.h

  • Committer: Brian Aker
  • Date: 2011-01-04 22:27:38 UTC
  • mfrom: (2041.3.16 session-fix)
  • mto: This revision was merged to the branch mainline in revision 2055.
  • Revision ID: brian@tangent.org-20110104222738-4r3hrsxrlbuildrg
Merge in cleanup of error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 *
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
 
5
 *
 
6
 *  This program is free software; you can redistribute it and/or modify
 
7
 *  it under the terms of the GNU General Public License as published by
 
8
 *  the Free Software Foundation; either version 2 of the License, or
 
9
 *  (at your option) any later version.
 
10
 *
 
11
 *  This program is distributed in the hope that it will be useful,
 
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 *  GNU General Public License for more details.
 
15
 *
 
16
 *  You should have received a copy of the GNU General Public License
 
17
 *  along with this program; if not, write to the Free Software
 
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 */
 
20
 
 
21
#ifndef DRIZZLED_ERROR_T_H
 
22
#define DRIZZLED_ERROR_T_H
 
23
 
 
24
namespace drizzled { 
 
25
 
 
26
enum drizzled_error_code {
 
27
 
 
28
  EE_OK=0,
 
29
  EE_ERROR_FIRST=1,
 
30
  EE_CANTCREATEFILE,
 
31
  EE_READ,
 
32
  EE_WRITE,
 
33
  EE_BADCLOSE,
 
34
  EE_OUTOFMEMORY,
 
35
  EE_DELETE,
 
36
  EE_LINK,
 
37
  EE_EOFERR,
 
38
  EE_CANTLOCK,
 
39
  EE_CANTUNLOCK,
 
40
  EE_DIR,
 
41
  EE_STAT,
 
42
  EE_CANT_CHSIZE,
 
43
  EE_CANT_OPEN_STREAM,
 
44
  EE_LINK_WARNING,
 
45
  EE_OPEN_WARNING,
 
46
  EE_DISK_FULL,
 
47
  EE_CANT_MKDIR,
 
48
  EE_UNKNOWN_CHARSET,
 
49
  EE_OUT_OF_FILERESOURCES,
 
50
  EE_CANT_READLINK,
 
51
  EE_CANT_SYMLINK,
 
52
  EE_REALPATH,
 
53
  EE_SYNC,
 
54
  EE_UNKNOWN_COLLATION,
 
55
  EE_FILENOTFOUND,
 
56
  EE_FILE_NOT_CLOSED,
 
57
  EE_ERROR_LAST= EE_FILE_NOT_CLOSED,
 
58
 
 
59
  ER_ERROR_FIRST= 1000,
 
60
  ER_UNUSED1000= ER_ERROR_FIRST,
 
61
  ER_UNUSED1001,
 
62
  ER_NO,
 
63
  ER_YES,
 
64
  ER_CANT_CREATE_FILE,
 
65
  ER_CANT_CREATE_TABLE,
 
66
  ER_CANT_CREATE_DB,
 
67
  ER_DB_CREATE_EXISTS,
 
68
  ER_DB_DROP_EXISTS,
 
69
  ER_UNUSED1009,
 
70
  ER_UNUSED1010,
 
71
  ER_CANT_DELETE_FILE,
 
72
  ER_UNUSED1012,
 
73
  ER_CANT_GET_STAT,
 
74
  ER_UNUSED1014,
 
75
  ER_CANT_LOCK,
 
76
  ER_CANT_OPEN_FILE,
 
77
  ER_FILE_NOT_FOUND,
 
78
  ER_CANT_READ_DIR,
 
79
  ER_UNUSED1019,
 
80
  ER_CHECKREAD,
 
81
  ER_DISK_FULL,
 
82
  ER_DUP_KEY,
 
83
  ER_ERROR_ON_CLOSE,
 
84
  ER_ERROR_ON_READ,
 
85
  ER_ERROR_ON_RENAME,
 
86
  ER_ERROR_ON_WRITE,
 
87
  ER_FILE_USED,
 
88
  ER_FILSORT_ABORT,
 
89
  ER_UNUSED1029,
 
90
  ER_GET_ERRNO,
 
91
  ER_ILLEGAL_HA,
 
92
  ER_KEY_NOT_FOUND,
 
93
  ER_NOT_FORM_FILE,
 
94
  ER_NOT_KEYFILE,
 
95
  ER_OLD_KEYFILE,
 
96
  ER_OPEN_AS_READONLY,
 
97
  ER_OUTOFMEMORY,
 
98
  ER_OUT_OF_SORTMEMORY,
 
99
  ER_UNEXPECTED_EOF,
 
100
  ER_CON_COUNT_ERROR,
 
101
  ER_OUT_OF_RESOURCES,
 
102
  ER_BAD_HOST_ERROR,
 
103
  ER_HANDSHAKE_ERROR,
 
104
  ER_DBACCESS_DENIED_ERROR,
 
105
  ER_ACCESS_DENIED_ERROR,
 
106
  ER_NO_DB_ERROR,
 
107
  ER_UNKNOWN_COM_ERROR,
 
108
  ER_BAD_NULL_ERROR,
 
109
  ER_BAD_DB_ERROR,
 
110
  ER_TABLE_EXISTS_ERROR,
 
111
  ER_BAD_TABLE_ERROR,
 
112
  ER_NON_UNIQ_ERROR,
 
113
  ER_SERVER_SHUTDOWN,
 
114
  ER_BAD_FIELD_ERROR,
 
115
  ER_WRONG_FIELD_WITH_GROUP,
 
116
  ER_WRONG_GROUP_FIELD,
 
117
  ER_WRONG_SUM_SELECT,
 
118
  ER_WRONG_VALUE_COUNT,
 
119
  ER_TOO_LONG_IDENT,
 
120
  ER_DUP_FIELDNAME,
 
121
  ER_DUP_KEYNAME,
 
122
  ER_DUP_ENTRY,
 
123
  ER_WRONG_FIELD_SPEC,
 
124
  ER_PARSE_ERROR,
 
125
  ER_EMPTY_QUERY,
 
126
  ER_NONUNIQ_TABLE,
 
127
  ER_INVALID_DEFAULT,
 
128
  ER_MULTIPLE_PRI_KEY,
 
129
  ER_TOO_MANY_KEYS,
 
130
  ER_TOO_MANY_KEY_PARTS,
 
131
  ER_TOO_LONG_KEY,
 
132
  ER_KEY_COLUMN_DOES_NOT_EXITS,
 
133
  ER_BLOB_USED_AS_KEY,
 
134
  ER_TOO_BIG_FIELDLENGTH,
 
135
  ER_WRONG_AUTO_KEY,
 
136
  ER_UNUSED1076,
 
137
  ER_NORMAL_SHUTDOWN,
 
138
  ER_GOT_SIGNAL,
 
139
  ER_SHUTDOWN_COMPLETE,
 
140
  ER_FORCING_CLOSE,
 
141
  ER_IPSOCK_ERROR,
 
142
  ER_NO_SUCH_INDEX,
 
143
  ER_WRONG_FIELD_TERMINATORS,
 
144
  ER_BLOBS_AND_NO_TERMINATED,
 
145
  ER_TEXTFILE_NOT_READABLE,
 
146
  ER_FILE_EXISTS_ERROR,
 
147
  ER_LOAD_INFO,
 
148
  ER_UNUSED1088,
 
149
  ER_WRONG_SUB_KEY,
 
150
  ER_CANT_REMOVE_ALL_FIELDS,
 
151
  ER_CANT_DROP_FIELD_OR_KEY,
 
152
  ER_INSERT_INFO,
 
153
  ER_UPDATE_TABLE_USED,
 
154
  ER_NO_SUCH_THREAD,
 
155
  ER_KILL_DENIED_ERROR,
 
156
  ER_NO_TABLES_USED,
 
157
  ER_UNUSED1097,
 
158
  ER_UNUSED1098,
 
159
  ER_UNUSED1099,
 
160
  ER_UNUSED1100,
 
161
  ER_BLOB_CANT_HAVE_DEFAULT,
 
162
  ER_WRONG_DB_NAME,
 
163
  ER_WRONG_TABLE_NAME,
 
164
  ER_TOO_BIG_SELECT,
 
165
  ER_UNKNOWN_ERROR,
 
166
  ER_UNKNOWN_PROCEDURE,
 
167
  ER_WRONG_PARAMCOUNT_TO_PROCEDURE,
 
168
  ER_UNUSED1108,
 
169
  ER_UNKNOWN_TABLE,
 
170
  ER_FIELD_SPECIFIED_TWICE,
 
171
  ER_INVALID_GROUP_FUNC_USE,
 
172
  ER_UNSUPPORTED_EXTENSION,
 
173
  ER_TABLE_MUST_HAVE_COLUMNS,
 
174
  ER_RECORD_FILE_FULL,
 
175
  ER_UNUSED1115,
 
176
  ER_TOO_MANY_TABLES,
 
177
  ER_TOO_MANY_FIELDS,
 
178
  ER_TOO_BIG_ROWSIZE,
 
179
  ER_UNUSED1119,
 
180
  ER_WRONG_OUTER_JOIN,
 
181
  ER_NULL_COLUMN_IN_INDEX,
 
182
  ER_UNUSED1122,
 
183
  ER_UNUSED1123,
 
184
  ER_PLUGIN_NO_PATHS,
 
185
  ER_PLUGIN_EXISTS,
 
186
  ER_CANT_OPEN_LIBRARY,
 
187
  ER_CANT_FIND_DL_ENTRY,
 
188
  ER_UNUSED1128,
 
189
  ER_UNUSED1129,
 
190
  ER_UNUSED1130,
 
191
  ER_UNUSED1131,
 
192
  ER_UNUSED1132,
 
193
  ER_UNUSED1133,
 
194
  ER_UPDATE_INFO,
 
195
  ER_CANT_CREATE_THREAD,
 
196
  ER_WRONG_VALUE_COUNT_ON_ROW,
 
197
  ER_CANT_REOPEN_TABLE,
 
198
  ER_UNUSED1138,
 
199
  ER_UNUSED1139,
 
200
  ER_MIX_OF_GROUP_FUNC_AND_FIELDS,
 
201
  ER_UNUSED1141,
 
202
  ER_UNUSED1142,
 
203
  ER_UNUSED1143,
 
204
  ER_UNUSED1144,
 
205
  ER_UNUSED1145,
 
206
  ER_NO_SUCH_TABLE,
 
207
  ER_UNUSED1147,
 
208
  ER_UNUSED1148,
 
209
  ER_SYNTAX_ERROR,
 
210
  ER_UNUSED1150,
 
211
  ER_UNUSED1151,
 
212
  ER_UNUSED1152,
 
213
  ER_NET_PACKET_TOO_LARGE,
 
214
  ER_UNUSED1154,
 
215
  ER_UNUSED1155,
 
216
  ER_NET_PACKETS_OUT_OF_ORDER,
 
217
  ER_UNUSED1157,
 
218
  ER_UNUSED1158,
 
219
  ER_UNUSED1159,
 
220
  ER_UNUSED1160,
 
221
  ER_UNUSED1161,
 
222
  ER_UNUSED1162,
 
223
  ER_TABLE_CANT_HANDLE_BLOB,
 
224
  ER_TABLE_CANT_HANDLE_AUTO_INCREMENT,
 
225
  ER_UNUSED1165,
 
226
  ER_WRONG_COLUMN_NAME,
 
227
  ER_WRONG_KEY_COLUMN,
 
228
  ER_WRONG_MRG_TABLE,
 
229
  ER_DUP_UNIQUE,
 
230
  ER_BLOB_KEY_WITHOUT_LENGTH,
 
231
  ER_PRIMARY_CANT_HAVE_NULL,
 
232
  ER_TOO_MANY_ROWS,
 
233
  ER_REQUIRES_PRIMARY_KEY,
 
234
  ER_UNUSED1174,
 
235
  ER_UNUSED1175,
 
236
  ER_KEY_DOES_NOT_EXITS,
 
237
  ER_CHECK_NO_SUCH_TABLE,
 
238
  ER_CHECK_NOT_IMPLEMENTED,
 
239
  ER_UNUSED1179,
 
240
  ER_ERROR_DURING_COMMIT,
 
241
  ER_ERROR_DURING_ROLLBACK,
 
242
  ER_UNUSED1182,
 
243
  ER_UNUSED1183,
 
244
  ER_NEW_ABORTING_CONNECTION,
 
245
  ER_UNUSED1185,
 
246
  ER_UNUSED1186,
 
247
  ER_UNUSED1187,
 
248
  ER_UNUSED1188,
 
249
  ER_UNUSED1189,
 
250
  ER_UNUSED1190,
 
251
  ER_UNUSED1191,
 
252
  ER_LOCK_OR_ACTIVE_TRANSACTION,
 
253
  ER_UNKNOWN_SYSTEM_VARIABLE,
 
254
  ER_CRASHED_ON_USAGE,
 
255
  ER_CRASHED_ON_REPAIR,
 
256
  ER_WARNING_NOT_COMPLETE_ROLLBACK,
 
257
  ER_UNUSED1197,
 
258
  ER_UNUSED1198,
 
259
  ER_UNUSED1199,
 
260
  ER_UNUSED1200,
 
261
  ER_UNUSED1201,
 
262
  ER_UNUSED1202,
 
263
  ER_UNUSED1203,
 
264
  ER_SET_CONSTANTS_ONLY,
 
265
  ER_LOCK_WAIT_TIMEOUT,
 
266
  ER_LOCK_TABLE_FULL,
 
267
  ER_READ_ONLY_TRANSACTION,
 
268
  ER_DROP_DB_WITH_READ_LOCK,
 
269
  ER_UNUSED1209,
 
270
  ER_WRONG_ARGUMENTS,
 
271
  ER_UNUSED1211,
 
272
  ER_UNUSED1212,
 
273
  ER_LOCK_DEADLOCK,
 
274
  ER_TABLE_CANT_HANDLE_FT,
 
275
  ER_CANNOT_ADD_FOREIGN,
 
276
  ER_NO_REFERENCED_ROW,
 
277
  ER_ROW_IS_REFERENCED,
 
278
  ER_UNUSED1218,
 
279
  ER_UNUSED1219,
 
280
  ER_UNUSED1220,
 
281
  ER_WRONG_USAGE,
 
282
  ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
 
283
  ER_CANT_UPDATE_WITH_READLOCK,
 
284
  ER_UNUSED1224,
 
285
  ER_UNUSED1225,
 
286
  ER_UNUSED1226,
 
287
  ER_UNUSED1227,
 
288
  ER_LOCAL_VARIABLE,
 
289
  ER_GLOBAL_VARIABLE,
 
290
  ER_NO_DEFAULT,
 
291
  ER_WRONG_VALUE_FOR_VAR,
 
292
  ER_WRONG_TYPE_FOR_VAR,
 
293
  ER_VAR_CANT_BE_READ,
 
294
  ER_CANT_USE_OPTION_HERE,
 
295
  ER_NOT_SUPPORTED_YET,
 
296
  ER_UNUSED1236,
 
297
  ER_UNUSED1237,
 
298
  ER_INCORRECT_GLOBAL_LOCAL_VAR,
 
299
  ER_WRONG_FK_DEF,
 
300
  ER_KEY_REF_DO_NOT_MATCH_TABLE_REF,
 
301
  ER_OPERAND_COLUMNS,
 
302
  ER_SUBQUERY_NO_1_ROW,
 
303
  ER_UNUSED1243,
 
304
  ER_UNUSED1244,
 
305
  ER_UNUSED1245,
 
306
  ER_AUTO_CONVERT,
 
307
  ER_ILLEGAL_REFERENCE,
 
308
  ER_DERIVED_MUST_HAVE_ALIAS,
 
309
  ER_SELECT_REDUCED,
 
310
  ER_TABLENAME_NOT_ALLOWED_HERE,
 
311
  ER_UNUSED1251,
 
312
  ER_SPATIAL_CANT_HAVE_NULL,
 
313
  ER_COLLATION_CHARSET_MISMATCH,
 
314
  ER_UNUSED1254,
 
315
  ER_UNUSED1255,
 
316
  ER_TOO_BIG_FOR_UNCOMPRESS,
 
317
  ER_ZLIB_Z_MEM_ERROR,
 
318
  ER_ZLIB_Z_BUF_ERROR,
 
319
  ER_ZLIB_Z_DATA_ERROR,
 
320
  ER_CUT_VALUE_GROUP_CONCAT,
 
321
  ER_WARN_TOO_FEW_RECORDS,
 
322
  ER_WARN_TOO_MANY_RECORDS,
 
323
  ER_WARN_NULL_TO_NOTNULL,
 
324
  ER_WARN_DATA_OUT_OF_RANGE,
 
325
  ER_WARN_DATA_TRUNCATED,
 
326
  ER_UNUSED1266,
 
327
  ER_CANT_AGGREGATE_2COLLATIONS,
 
328
  ER_UNUSED1268,
 
329
  ER_UNUSED1269,
 
330
  ER_CANT_AGGREGATE_3COLLATIONS,
 
331
  ER_CANT_AGGREGATE_NCOLLATIONS,
 
332
  ER_VARIABLE_IS_NOT_STRUCT,
 
333
  ER_UNKNOWN_COLLATION,
 
334
  ER_UNUSED1274,
 
335
  ER_UNUSED1275,
 
336
  ER_WARN_FIELD_RESOLVED,
 
337
  ER_UNUSED1277,
 
338
  ER_UNUSED1278,
 
339
  ER_UNUSED1279,
 
340
  ER_WRONG_NAME_FOR_INDEX,
 
341
  ER_WRONG_NAME_FOR_CATALOG,
 
342
  ER_UNUSED1282,
 
343
  ER_BAD_FT_COLUMN,
 
344
  ER_UNUSED1284,
 
345
  ER_UNUSED1285,
 
346
  ER_UNKNOWN_STORAGE_ENGINE,
 
347
  ER_UNUSED1287,
 
348
  ER_NON_UPDATABLE_TABLE,
 
349
  ER_FEATURE_DISABLED,
 
350
  ER_OPTION_PREVENTS_STATEMENT,
 
351
  ER_DUPLICATED_VALUE_IN_TYPE,
 
352
  ER_TRUNCATED_WRONG_VALUE,
 
353
  ER_TOO_MUCH_AUTO_TIMESTAMP_COLS,
 
354
  ER_INVALID_ON_UPDATE,
 
355
  ER_UNUSED1295,
 
356
  ER_GET_ERRMSG,
 
357
  ER_GET_TEMPORARY_ERRMSG,
 
358
  ER_UNKNOWN_TIME_ZONE,
 
359
  ER_UNUSED1299,
 
360
  ER_INVALID_CHARACTER_STRING,
 
361
  ER_WARN_ALLOWED_PACKET_OVERFLOWED,
 
362
  ER_UNUSED1302,
 
363
  ER_UNUSED1303,
 
364
  ER_UNUSED1304,
 
365
  ER_SP_DOES_NOT_EXIST,
 
366
  ER_UNUSED1306,
 
367
  ER_UNUSED1307,
 
368
  ER_UNUSED1308,
 
369
  ER_UNUSED1309,
 
370
  ER_UNUSED1310,
 
371
  ER_UNUSED1311,
 
372
  ER_UNUSED1312,
 
373
  ER_UNUSED1313,
 
374
  ER_UNUSED1314,
 
375
  ER_UNUSED1315,
 
376
  ER_UNUSED1316,
 
377
  ER_QUERY_INTERRUPTED,
 
378
  ER_UNUSED1318,
 
379
  ER_UNUSED1319,
 
380
  ER_UNUSED1320,
 
381
  ER_UNUSED1321,
 
382
  ER_UNUSED1322,
 
383
  ER_UNUSED1323,
 
384
  ER_UNUSED1324,
 
385
  ER_UNUSED1325,
 
386
  ER_UNUSED1326,
 
387
  ER_UNUSED1327,
 
388
  ER_UNUSED1328,
 
389
  ER_SP_FETCH_NO_DATA,
 
390
  ER_UNUSED1330,
 
391
  ER_UNUSED1331,
 
392
  ER_UNUSED1332,
 
393
  ER_UNUSED1333,
 
394
  ER_UNUSED1334,
 
395
  ER_UNUSED1335,
 
396
  ER_UNUSED1336,
 
397
  ER_UNUSED1337,
 
398
  ER_UNUSED1338,
 
399
  ER_UNUSED1339,
 
400
  ER_UNUSED1340,
 
401
  ER_UNUSED1341,
 
402
  ER_UNUSED1342,
 
403
  ER_UNUSED1343,
 
404
  ER_UNUSED1344,
 
405
  ER_UNUSED1345,
 
406
  ER_UNUSED1346,
 
407
  ER_UNUSED1347,
 
408
  ER_UNUSED1348,
 
409
  ER_UNUSED1349,
 
410
  ER_UNUSED1350,
 
411
  ER_UNUSED1351,
 
412
  ER_UNUSED1352,
 
413
  ER_UNUSED1353,
 
414
  ER_UNUSED1354,
 
415
  ER_UNUSED1355,
 
416
  ER_VIEW_INVALID,
 
417
  ER_UNUSED1357,
 
418
  ER_UNUSED1358,
 
419
  ER_UNUSED1359,
 
420
  ER_UNUSED1360,
 
421
  ER_UNUSED1361,
 
422
  ER_UNUSED1362,
 
423
  ER_UNUSED1363,
 
424
  ER_NO_DEFAULT_FOR_FIELD,
 
425
  ER_DIVISION_BY_ZERO,
 
426
  ER_TRUNCATED_WRONG_VALUE_FOR_FIELD,
 
427
  ER_ILLEGAL_VALUE_FOR_TYPE,
 
428
  ER_UNUSED1368,
 
429
  ER_UNUSED1369,
 
430
  ER_UNUSED1370,
 
431
  ER_UNUSED1371,
 
432
  ER_UNUSED1372,
 
433
  ER_UNUSED1373,
 
434
  ER_UNUSED1374,
 
435
  ER_UNUSED1375,
 
436
  ER_UNUSED1376,
 
437
  ER_UNUSED1377,
 
438
  ER_UNUSED1378,
 
439
  ER_UNUSED1379,
 
440
  ER_UNUSED1380,
 
441
  ER_UNUSED1381,
 
442
  ER_UNUSED1382,
 
443
  ER_UNUSED1383,
 
444
  ER_UNUSED1384,
 
445
  ER_UNUSED1385,
 
446
  ER_UNUSED1386,
 
447
  ER_UNUSED1387,
 
448
  ER_UNUSED1388,
 
449
  ER_UNUSED1389,
 
450
  ER_UNUSED1390,
 
451
  ER_KEY_PART_0,
 
452
  ER_UNUSED1392,
 
453
  ER_UNUSED1393,
 
454
  ER_UNUSED1394,
 
455
  ER_UNUSED1395,
 
456
  ER_UNUSED1396,
 
457
  ER_UNUSED1397,
 
458
  ER_UNUSED1398,
 
459
  ER_XAER_RMFAIL,
 
460
  ER_UNUSED1400,
 
461
  ER_UNUSED1401,
 
462
  ER_UNUSED1402,
 
463
  ER_UNUSED1403,
 
464
  ER_UNUSED1404,
 
465
  ER_UNUSED1405,
 
466
  ER_DATA_TOO_LONG,
 
467
  ER_UNUSED1407,
 
468
  ER_STARTUP,
 
469
  ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR,
 
470
  ER_UNUSED1410,
 
471
  ER_WRONG_VALUE_FOR_TYPE,
 
472
  ER_TABLE_DEF_CHANGED,
 
473
  ER_UNUSED1413,
 
474
  ER_UNUSED1414,
 
475
  ER_SP_NO_RETSET,
 
476
  ER_CANT_CREATE_GEOMETRY_OBJECT,
 
477
  ER_UNUSED1417,
 
478
  ER_UNUSED1418,
 
479
  ER_UNUSED1419,
 
480
  ER_UNUSED1420,
 
481
  ER_UNUSED1421,
 
482
  ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG,
 
483
  ER_UNUSED1423,
 
484
  ER_UNUSED1424,
 
485
  ER_TOO_BIG_SCALE,
 
486
  ER_TOO_BIG_PRECISION,
 
487
  ER_M_BIGGER_THAN_D,
 
488
  ER_UNUSED1428,
 
489
  ER_UNUSED1429,
 
490
  ER_UNUSED1430,
 
491
  ER_UNUSED1431,
 
492
  ER_UNUSED1432,
 
493
  ER_UNUSED1433,
 
494
  ER_UNUSED1434,
 
495
  ER_TRG_IN_WRONG_SCHEMA,
 
496
  ER_STACK_OVERRUN_NEED_MORE=1436, // TODO: Test case looks for this int
 
497
  ER_UNUSED1437,
 
498
  ER_UNUSED1438,
 
499
  ER_TOO_BIG_DISPLAYWIDTH,
 
500
  ER_UNUSED1440,
 
501
  ER_DATETIME_FUNCTION_OVERFLOW,
 
502
  ER_UNUSED1442,
 
503
  ER_UNUSED1443,
 
504
  ER_UNUSED1444,
 
505
  ER_UNUSED1445,
 
506
  ER_UNUSED1446,
 
507
  ER_UNUSED1447,
 
508
  ER_UNUSED1448,
 
509
  ER_UNUSED1449,
 
510
  ER_UNUSED1450,
 
511
  ER_ROW_IS_REFERENCED_2,
 
512
  ER_NO_REFERENCED_ROW_2,
 
513
  ER_UNUSED1453,
 
514
  ER_UNUSED1454,
 
515
  ER_UNUSED1455,
 
516
  ER_UNUSED1456,
 
517
  ER_UNUSED1457,
 
518
  ER_UNUSED1458,
 
519
  ER_TABLE_NEEDS_UPGRADE,
 
520
  ER_UNUSED1460,
 
521
  ER_UNUSED1461,
 
522
  ER_UNUSED1462,
 
523
  ER_NON_GROUPING_FIELD_USED,
 
524
  ER_TABLE_CANT_HANDLE_SPKEYS,
 
525
  ER_UNUSED1465,
 
526
  ER_REMOVED_SPACES,
 
527
  ER_AUTOINC_READ_FAILED,
 
528
  ER_UNUSED1468,
 
529
  ER_UNUSED1469,
 
530
  ER_WRONG_STRING_LENGTH,
 
531
  ER_UNUSED1471,
 
532
  ER_UNUSED1472,
 
533
  ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT,
 
534
  ER_NAME_BECOMES_EMPTY,
 
535
  ER_AMBIGUOUS_FIELD_TERM,
 
536
  ER_UNUSED1476,
 
537
  ER_UNUSED1477,
 
538
  ER_ILLEGAL_HA_CREATE_OPTION,
 
539
  ER_UNUSED1479,
 
540
  ER_UNUSED1480,
 
541
  ER_UNUSED1481,
 
542
  ER_UNUSED1482,
 
543
  ER_UNUSED1483,
 
544
  ER_UNUSED1484,
 
545
  ER_UNUSED1485,
 
546
  ER_UNUSED1486,
 
547
  ER_UNUSED1487,
 
548
  ER_UNUSED1488,
 
549
  ER_UNUSED1489,
 
550
  ER_UNUSED1490,
 
551
  ER_UNUSED1491,
 
552
  ER_UNUSED1492,
 
553
  ER_UNUSED1493,
 
554
  ER_UNUSED1494,
 
555
  ER_UNUSED1495,
 
556
  ER_UNUSED1496,
 
557
  ER_UNUSED1497,
 
558
  ER_UNUSED1498,
 
559
  ER_UNUSED1499,
 
560
  ER_UNUSED1500,
 
561
  ER_UNUSED1501,
 
562
  ER_UNUSED1502,
 
563
  ER_UNUSED1503,
 
564
  ER_UNUSED1504,
 
565
  ER_UNUSED1505,
 
566
  ER_UNUSED1506,
 
567
  ER_UNUSED1507,
 
568
  ER_UNUSED1508,
 
569
  ER_UNUSED1509,
 
570
  ER_UNUSED1510,
 
571
  ER_UNUSED1511,
 
572
  ER_UNUSED1512,
 
573
  ER_UNUSED1513,
 
574
  ER_UNUSED1514,
 
575
  ER_UNUSED1515,
 
576
  ER_UNUSED1516,
 
577
  ER_UNUSED1517,
 
578
  ER_UNUSED1518,
 
579
  ER_UNUSED1519,
 
580
  ER_UNUSED1520,
 
581
  ER_UNUSED1521,
 
582
  ER_UNUSED1522,
 
583
  ER_UNUSED1523,
 
584
  ER_INVALID_OPTION_VALUE,
 
585
  ER_WRONG_VALUE,
 
586
  ER_NO_PARTITION_FOR_GIVEN_VALUE,
 
587
  ER_UNUSED1527,
 
588
  ER_UNUSED1528,
 
589
  ER_UNUSED1529,
 
590
  ER_UNUSED1530,
 
591
  ER_UNUSED1531,
 
592
  ER_UNUSED1532,
 
593
  ER_UNUSED1533,
 
594
  ER_BINLOG_ROW_LOGGING_FAILED,
 
595
  ER_UNUSED1535,
 
596
  ER_UNUSED1536,
 
597
  ER_UNUSED1537,
 
598
  ER_UNUSED1538,
 
599
  ER_UNUSED1539,
 
600
  ER_UNUSED1540,
 
601
  ER_UNUSED1541,
 
602
  ER_UNUSED1542,
 
603
  ER_UNUSED1543,
 
604
  ER_UNUSED1544,
 
605
  ER_UNUSED1545,
 
606
  ER_UNUSED1546,
 
607
  ER_UNUSED1547,
 
608
  ER_UNUSED1548,
 
609
  ER_UNUSED1549,
 
610
  ER_UNUSED1550,
 
611
  ER_UNUSED1551,
 
612
  ER_UNUSED1552,
 
613
  ER_DROP_INDEX_FK,
 
614
  ER_UNUSED1554,
 
615
  ER_UNUSED1555,
 
616
  ER_UNUSED1556,
 
617
  ER_FOREIGN_DUPLICATE_KEY,
 
618
  ER_UNUSED1558,
 
619
  ER_UNUSED1559,
 
620
  ER_UNUSED1560,
 
621
  ER_UNUSED1561,
 
622
  ER_UNUSED1562,
 
623
  ER_UNUSED1563,
 
624
  ER_UNUSED1564,
 
625
  ER_UNUSED1565,
 
626
  ER_UNUSED1566,
 
627
  ER_UNUSED1567,
 
628
  ER_CANT_CHANGE_TX_ISOLATION,
 
629
  ER_UNUSED1569,
 
630
  ER_UNUSED1570,
 
631
  ER_UNUSED1571,
 
632
  ER_UNUSED1572,
 
633
  ER_UNUSED1573,
 
634
  ER_UNUSED1574,
 
635
  ER_UNUSED1575,
 
636
  ER_UNUSED1576,
 
637
  ER_UNUSED1577,
 
638
  ER_UNUSED1578,
 
639
  ER_UNUSED1579,
 
640
  ER_UNUSED1580,
 
641
  ER_UNUSED1581,
 
642
  ER_WRONG_PARAMCOUNT_TO_FUNCTION,
 
643
  ER_WRONG_PARAMETERS_TO_NATIVE_FCT,
 
644
  ER_UNUSED1584,
 
645
  ER_UNUSED1585,
 
646
  ER_DUP_ENTRY_WITH_KEY_NAME,
 
647
  ER_UNUSED1587,
 
648
  ER_UNUSED1588,
 
649
  ER_UNUSED1589,
 
650
  ER_UNUSED1590,
 
651
  ER_UNUSED1591,
 
652
  ER_UNUSED1592,
 
653
  ER_UNUSED1593,
 
654
  ER_UNUSED1594,
 
655
  ER_UNUSED1595,
 
656
  ER_UNUSED1596,
 
657
  ER_UNUSED1597,
 
658
  ER_UNUSED1598,
 
659
  ER_UNUSED1599,
 
660
  ER_UNUSED1600,
 
661
  ER_UNUSED1601,
 
662
  ER_UNUSED1602,
 
663
  ER_UNUSED1603,
 
664
  ER_UNUSED1604,
 
665
  ER_UNUSED1605,
 
666
  ER_UNUSED1606,
 
667
  ER_UNUSED1607,
 
668
  ER_UNUSED1608,
 
669
  ER_UNUSED1609,
 
670
  ER_UNUSED1610,
 
671
  ER_LOAD_DATA_INVALID_COLUMN,
 
672
  ER_UNUSED1612,
 
673
  ER_UNUSED1613,
 
674
  ER_UNUSED1614,
 
675
  ER_UNUSED1615,
 
676
  ER_UNUSED1616,
 
677
  ER_UNUSED1617,
 
678
  ER_UNUSED1618,
 
679
  ER_UNUSED1619,
 
680
  ER_UNUSED1620,
 
681
  ER_UNUSED1621,
 
682
  ER_UNUSED1622,
 
683
  ER_UNUSED1623,
 
684
  ER_UNUSED1624,
 
685
  ER_UNUSED1625,
 
686
  ER_UNUSED1626,
 
687
  ER_UNUSED1627,
 
688
  ER_UNUSED1628,
 
689
  ER_UNUSED1629,
 
690
  ER_UNUSED1630,
 
691
  ER_UNUSED1631,
 
692
  ER_UNUSED1632,
 
693
  ER_UNUSED1633,
 
694
  ER_UNUSED1634,
 
695
  ER_UNUSED1635,
 
696
  ER_UNUSED1636,
 
697
  ER_UNUSED1637,
 
698
  ER_UNUSED1638,
 
699
  ER_UNUSED1639,
 
700
  ER_UNUSED1640,
 
701
  ER_UNUSED1641,
 
702
  ER_UNUSED1642,
 
703
  ER_UNUSED1643,
 
704
  ER_UNUSED1644,
 
705
  ER_UNUSED1645,
 
706
  ER_UNUSED1646,
 
707
  ER_UNUSED1647,
 
708
  ER_UNUSED1648,
 
709
  ER_UNUSED1649,
 
710
  ER_UNUSED1650,
 
711
  ER_UNUSED1651,
 
712
  ER_UNUSED1652,
 
713
  ER_UNUSED1653,
 
714
  ER_UNUSED1654,
 
715
  ER_UNUSED1655,
 
716
  ER_UNUSED1656,
 
717
  ER_UNUSED1657,
 
718
  ER_UNUSED1658,
 
719
  ER_UNUSED1659,
 
720
  ER_UNUSED1660,
 
721
  ER_UNUSED1661,
 
722
  ER_UNUSED1662,
 
723
  ER_UNUSED1663,
 
724
  ER_UNUSED1664,
 
725
  ER_UNUSED1665,
 
726
  ER_UNUSED1666,
 
727
  ER_UNUSED1667,
 
728
  ER_UNUSED1668,
 
729
  ER_UNUSED1669,
 
730
  ER_UNUSED1670,
 
731
  ER_UNUSED1671,
 
732
  ER_UNUSED1672,
 
733
  ER_UNUSED1673,
 
734
  ER_UNUSED1674,
 
735
  ER_UNUSED1675,
 
736
  ER_UNUSED1676,
 
737
  ER_UNUSED1677,
 
738
  ER_UNUSED1678,
 
739
  ER_UNUSED1679,
 
740
  ER_UNUSED1680,
 
741
  ER_UNUSED1681,
 
742
  ER_UNUSED1682,
 
743
  ER_UNUSED1683,
 
744
  ER_UNUSED1684,
 
745
  ER_INVALID_UNIX_TIMESTAMP_VALUE,
 
746
  ER_INVALID_DATETIME_VALUE,
 
747
  ER_INVALID_NULL_ARGUMENT,
 
748
  ER_UNUSED1688,
 
749
  ER_ARGUMENT_OUT_OF_RANGE,
 
750
  ER_UNUSED1690,
 
751
  ER_INVALID_ENUM_VALUE,
 
752
  ER_NO_PRIMARY_KEY_ON_REPLICATED_TABLE,
 
753
  ER_CORRUPT_TABLE_DEFINITION,
 
754
  ER_SCHEMA_DOES_NOT_EXIST,
 
755
  ER_ALTER_SCHEMA,
 
756
  ER_DROP_SCHEMA,
 
757
  ER_USE_SQL_BIG_RESULT,
 
758
  ER_UNKNOWN_ENGINE_OPTION,
 
759
  ER_UNKNOWN_SCHEMA_OPTION,
 
760
  ER_EVENT_OBSERVER_PLUGIN,
 
761
  ER_CORRUPT_SCHEMA_DEFINITION,
 
762
  ER_OUT_OF_GLOBAL_SORTMEMORY,
 
763
  ER_OUT_OF_GLOBAL_JOINMEMORY,
 
764
  ER_OUT_OF_GLOBAL_READRNDMEMORY,
 
765
  ER_OUT_OF_GLOBAL_READMEMORY,
 
766
  ER_USER_LOCKS_CANT_WAIT_ON_OWN_BARRIER,
 
767
  ER_USER_LOCKS_UNKNOWN_BARRIER,
 
768
  ER_USER_LOCKS_NOT_OWNER_OF_BARRIER,
 
769
  ER_USER_LOCKS_CANT_WAIT_ON_OWN_LOCK,
 
770
  ER_USER_LOCKS_NOT_OWNER_OF_LOCK,
 
771
  ER_USER_LOCKS_INVALID_NAME_BARRIER,
 
772
  ER_USER_LOCKS_INVALID_NAME_LOCK,
 
773
  ER_KILL_DENY_SELF_ERROR,
 
774
  ER_INVALID_ALTER_TABLE_FOR_NOT_NULL,
 
775
  ER_ADMIN_ACCESS,
 
776
  ER_INVALID_UUID_VALUE,
 
777
  ER_INVALID_UUID_TIME,
 
778
  ER_CORRUPT_TABLE_DEFINITION_ENUM,
 
779
  ER_CORRUPT_TABLE_DEFINITION_UNKNOWN_COLLATION,
 
780
  ER_INVALID_CAST_TO_SIGNED,
 
781
  ER_INVALID_CAST_TO_UNSIGNED,
 
782
  ER_INVALID_BOOLEAN_VALUE,
 
783
  ER_ASSERT,
 
784
  ER_ASSERT_NULL,
 
785
  ER_TABLE_DROP,
 
786
  ER_INVALID_CAST_TO_BOOLEAN,
 
787
 
 
788
  // Leave ER_INVALID_BOOLEAN_VALUE as LAST, and force people to use tags
 
789
  // instead of numbers in error messages in test.
 
790
  ER_ERROR_LAST= ER_INVALID_CAST_TO_BOOLEAN
 
791
};
 
792
 
 
793
 
 
794
} /* namespace drizzled */
 
795
 
 
796
#endif /* DRIZZLED_ERROR_T_H */