~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/enum.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:
309
309
  DUP_UPDATE
310
310
};
311
311
 
312
 
enum drizzled_error_code {
313
 
 
314
 
  EE_OK=0,
315
 
  EE_ERROR_FIRST=1,
316
 
  EE_CANTCREATEFILE,
317
 
  EE_READ,
318
 
  EE_WRITE,
319
 
  EE_BADCLOSE,
320
 
  EE_OUTOFMEMORY,
321
 
  EE_DELETE,
322
 
  EE_LINK,
323
 
  EE_EOFERR,
324
 
  EE_CANTLOCK,
325
 
  EE_CANTUNLOCK,
326
 
  EE_DIR,
327
 
  EE_STAT,
328
 
  EE_CANT_CHSIZE,
329
 
  EE_CANT_OPEN_STREAM,
330
 
  EE_LINK_WARNING,
331
 
  EE_OPEN_WARNING,
332
 
  EE_DISK_FULL,
333
 
  EE_CANT_MKDIR,
334
 
  EE_UNKNOWN_CHARSET,
335
 
  EE_OUT_OF_FILERESOURCES,
336
 
  EE_CANT_READLINK,
337
 
  EE_CANT_SYMLINK,
338
 
  EE_REALPATH,
339
 
  EE_SYNC,
340
 
  EE_UNKNOWN_COLLATION,
341
 
  EE_FILENOTFOUND,
342
 
  EE_FILE_NOT_CLOSED,
343
 
  EE_ERROR_LAST= EE_FILE_NOT_CLOSED,
344
 
 
345
 
  ER_ERROR_FIRST= 1000,
346
 
  ER_UNUSED1000= ER_ERROR_FIRST,
347
 
  ER_UNUSED1001,
348
 
  ER_NO,
349
 
  ER_YES,
350
 
  ER_CANT_CREATE_FILE,
351
 
  ER_CANT_CREATE_TABLE,
352
 
  ER_CANT_CREATE_DB,
353
 
  ER_DB_CREATE_EXISTS,
354
 
  ER_DB_DROP_EXISTS,
355
 
  ER_UNUSED1009,
356
 
  ER_UNUSED1010,
357
 
  ER_CANT_DELETE_FILE,
358
 
  ER_UNUSED1012,
359
 
  ER_CANT_GET_STAT,
360
 
  ER_UNUSED1014,
361
 
  ER_CANT_LOCK,
362
 
  ER_CANT_OPEN_FILE,
363
 
  ER_FILE_NOT_FOUND,
364
 
  ER_CANT_READ_DIR,
365
 
  ER_UNUSED1019,
366
 
  ER_CHECKREAD,
367
 
  ER_DISK_FULL,
368
 
  ER_DUP_KEY,
369
 
  ER_ERROR_ON_CLOSE,
370
 
  ER_ERROR_ON_READ,
371
 
  ER_ERROR_ON_RENAME,
372
 
  ER_ERROR_ON_WRITE,
373
 
  ER_FILE_USED,
374
 
  ER_FILSORT_ABORT,
375
 
  ER_UNUSED1029,
376
 
  ER_GET_ERRNO,
377
 
  ER_ILLEGAL_HA,
378
 
  ER_KEY_NOT_FOUND,
379
 
  ER_NOT_FORM_FILE,
380
 
  ER_NOT_KEYFILE,
381
 
  ER_OLD_KEYFILE,
382
 
  ER_OPEN_AS_READONLY,
383
 
  ER_OUTOFMEMORY,
384
 
  ER_OUT_OF_SORTMEMORY,
385
 
  ER_UNEXPECTED_EOF,
386
 
  ER_CON_COUNT_ERROR,
387
 
  ER_OUT_OF_RESOURCES,
388
 
  ER_BAD_HOST_ERROR,
389
 
  ER_HANDSHAKE_ERROR,
390
 
  ER_DBACCESS_DENIED_ERROR,
391
 
  ER_ACCESS_DENIED_ERROR,
392
 
  ER_NO_DB_ERROR,
393
 
  ER_UNKNOWN_COM_ERROR,
394
 
  ER_BAD_NULL_ERROR,
395
 
  ER_BAD_DB_ERROR,
396
 
  ER_TABLE_EXISTS_ERROR,
397
 
  ER_BAD_TABLE_ERROR,
398
 
  ER_NON_UNIQ_ERROR,
399
 
  ER_SERVER_SHUTDOWN,
400
 
  ER_BAD_FIELD_ERROR,
401
 
  ER_WRONG_FIELD_WITH_GROUP,
402
 
  ER_WRONG_GROUP_FIELD,
403
 
  ER_WRONG_SUM_SELECT,
404
 
  ER_WRONG_VALUE_COUNT,
405
 
  ER_TOO_LONG_IDENT,
406
 
  ER_DUP_FIELDNAME,
407
 
  ER_DUP_KEYNAME,
408
 
  ER_DUP_ENTRY,
409
 
  ER_WRONG_FIELD_SPEC,
410
 
  ER_PARSE_ERROR,
411
 
  ER_EMPTY_QUERY,
412
 
  ER_NONUNIQ_TABLE,
413
 
  ER_INVALID_DEFAULT,
414
 
  ER_MULTIPLE_PRI_KEY,
415
 
  ER_TOO_MANY_KEYS,
416
 
  ER_TOO_MANY_KEY_PARTS,
417
 
  ER_TOO_LONG_KEY,
418
 
  ER_KEY_COLUMN_DOES_NOT_EXITS,
419
 
  ER_BLOB_USED_AS_KEY,
420
 
  ER_TOO_BIG_FIELDLENGTH,
421
 
  ER_WRONG_AUTO_KEY,
422
 
  ER_UNUSED1076,
423
 
  ER_NORMAL_SHUTDOWN,
424
 
  ER_GOT_SIGNAL,
425
 
  ER_SHUTDOWN_COMPLETE,
426
 
  ER_FORCING_CLOSE,
427
 
  ER_IPSOCK_ERROR,
428
 
  ER_NO_SUCH_INDEX,
429
 
  ER_WRONG_FIELD_TERMINATORS,
430
 
  ER_BLOBS_AND_NO_TERMINATED,
431
 
  ER_TEXTFILE_NOT_READABLE,
432
 
  ER_FILE_EXISTS_ERROR,
433
 
  ER_LOAD_INFO,
434
 
  ER_UNUSED1088,
435
 
  ER_WRONG_SUB_KEY,
436
 
  ER_CANT_REMOVE_ALL_FIELDS,
437
 
  ER_CANT_DROP_FIELD_OR_KEY,
438
 
  ER_INSERT_INFO,
439
 
  ER_UPDATE_TABLE_USED,
440
 
  ER_NO_SUCH_THREAD,
441
 
  ER_KILL_DENIED_ERROR,
442
 
  ER_NO_TABLES_USED,
443
 
  ER_UNUSED1097,
444
 
  ER_UNUSED1098,
445
 
  ER_UNUSED1099,
446
 
  ER_UNUSED1100,
447
 
  ER_BLOB_CANT_HAVE_DEFAULT,
448
 
  ER_WRONG_DB_NAME,
449
 
  ER_WRONG_TABLE_NAME,
450
 
  ER_TOO_BIG_SELECT,
451
 
  ER_UNKNOWN_ERROR,
452
 
  ER_UNKNOWN_PROCEDURE,
453
 
  ER_WRONG_PARAMCOUNT_TO_PROCEDURE,
454
 
  ER_UNUSED1108,
455
 
  ER_UNKNOWN_TABLE,
456
 
  ER_FIELD_SPECIFIED_TWICE,
457
 
  ER_INVALID_GROUP_FUNC_USE,
458
 
  ER_UNSUPPORTED_EXTENSION,
459
 
  ER_TABLE_MUST_HAVE_COLUMNS,
460
 
  ER_RECORD_FILE_FULL,
461
 
  ER_UNUSED1115,
462
 
  ER_TOO_MANY_TABLES,
463
 
  ER_TOO_MANY_FIELDS,
464
 
  ER_TOO_BIG_ROWSIZE,
465
 
  ER_UNUSED1119,
466
 
  ER_WRONG_OUTER_JOIN,
467
 
  ER_NULL_COLUMN_IN_INDEX,
468
 
  ER_UNUSED1122,
469
 
  ER_UNUSED1123,
470
 
  ER_PLUGIN_NO_PATHS,
471
 
  ER_PLUGIN_EXISTS,
472
 
  ER_CANT_OPEN_LIBRARY,
473
 
  ER_CANT_FIND_DL_ENTRY,
474
 
  ER_UNUSED1128,
475
 
  ER_UNUSED1129,
476
 
  ER_UNUSED1130,
477
 
  ER_UNUSED1131,
478
 
  ER_UNUSED1132,
479
 
  ER_UNUSED1133,
480
 
  ER_UPDATE_INFO,
481
 
  ER_CANT_CREATE_THREAD,
482
 
  ER_WRONG_VALUE_COUNT_ON_ROW,
483
 
  ER_CANT_REOPEN_TABLE,
484
 
  ER_UNUSED1138,
485
 
  ER_UNUSED1139,
486
 
  ER_MIX_OF_GROUP_FUNC_AND_FIELDS,
487
 
  ER_UNUSED1141,
488
 
  ER_UNUSED1142,
489
 
  ER_UNUSED1143,
490
 
  ER_UNUSED1144,
491
 
  ER_UNUSED1145,
492
 
  ER_NO_SUCH_TABLE,
493
 
  ER_UNUSED1147,
494
 
  ER_UNUSED1148,
495
 
  ER_SYNTAX_ERROR,
496
 
  ER_UNUSED1150,
497
 
  ER_UNUSED1151,
498
 
  ER_UNUSED1152,
499
 
  ER_NET_PACKET_TOO_LARGE,
500
 
  ER_UNUSED1154,
501
 
  ER_UNUSED1155,
502
 
  ER_NET_PACKETS_OUT_OF_ORDER,
503
 
  ER_UNUSED1157,
504
 
  ER_UNUSED1158,
505
 
  ER_UNUSED1159,
506
 
  ER_UNUSED1160,
507
 
  ER_UNUSED1161,
508
 
  ER_UNUSED1162,
509
 
  ER_TABLE_CANT_HANDLE_BLOB,
510
 
  ER_TABLE_CANT_HANDLE_AUTO_INCREMENT,
511
 
  ER_UNUSED1165,
512
 
  ER_WRONG_COLUMN_NAME,
513
 
  ER_WRONG_KEY_COLUMN,
514
 
  ER_WRONG_MRG_TABLE,
515
 
  ER_DUP_UNIQUE,
516
 
  ER_BLOB_KEY_WITHOUT_LENGTH,
517
 
  ER_PRIMARY_CANT_HAVE_NULL,
518
 
  ER_TOO_MANY_ROWS,
519
 
  ER_REQUIRES_PRIMARY_KEY,
520
 
  ER_UNUSED1174,
521
 
  ER_UNUSED1175,
522
 
  ER_KEY_DOES_NOT_EXITS,
523
 
  ER_CHECK_NO_SUCH_TABLE,
524
 
  ER_CHECK_NOT_IMPLEMENTED,
525
 
  ER_UNUSED1179,
526
 
  ER_ERROR_DURING_COMMIT,
527
 
  ER_ERROR_DURING_ROLLBACK,
528
 
  ER_UNUSED1182,
529
 
  ER_UNUSED1183,
530
 
  ER_NEW_ABORTING_CONNECTION,
531
 
  ER_UNUSED1185,
532
 
  ER_UNUSED1186,
533
 
  ER_UNUSED1187,
534
 
  ER_UNUSED1188,
535
 
  ER_UNUSED1189,
536
 
  ER_UNUSED1190,
537
 
  ER_UNUSED1191,
538
 
  ER_LOCK_OR_ACTIVE_TRANSACTION,
539
 
  ER_UNKNOWN_SYSTEM_VARIABLE,
540
 
  ER_CRASHED_ON_USAGE,
541
 
  ER_CRASHED_ON_REPAIR,
542
 
  ER_WARNING_NOT_COMPLETE_ROLLBACK,
543
 
  ER_UNUSED1197,
544
 
  ER_UNUSED1198,
545
 
  ER_UNUSED1199,
546
 
  ER_UNUSED1200,
547
 
  ER_UNUSED1201,
548
 
  ER_UNUSED1202,
549
 
  ER_UNUSED1203,
550
 
  ER_SET_CONSTANTS_ONLY,
551
 
  ER_LOCK_WAIT_TIMEOUT,
552
 
  ER_LOCK_TABLE_FULL,
553
 
  ER_READ_ONLY_TRANSACTION,
554
 
  ER_DROP_DB_WITH_READ_LOCK,
555
 
  ER_UNUSED1209,
556
 
  ER_WRONG_ARGUMENTS,
557
 
  ER_UNUSED1211,
558
 
  ER_UNUSED1212,
559
 
  ER_LOCK_DEADLOCK,
560
 
  ER_TABLE_CANT_HANDLE_FT,
561
 
  ER_CANNOT_ADD_FOREIGN,
562
 
  ER_NO_REFERENCED_ROW,
563
 
  ER_ROW_IS_REFERENCED,
564
 
  ER_UNUSED1218,
565
 
  ER_UNUSED1219,
566
 
  ER_UNUSED1220,
567
 
  ER_WRONG_USAGE,
568
 
  ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
569
 
  ER_CANT_UPDATE_WITH_READLOCK,
570
 
  ER_UNUSED1224,
571
 
  ER_UNUSED1225,
572
 
  ER_UNUSED1226,
573
 
  ER_UNUSED1227,
574
 
  ER_LOCAL_VARIABLE,
575
 
  ER_GLOBAL_VARIABLE,
576
 
  ER_NO_DEFAULT,
577
 
  ER_WRONG_VALUE_FOR_VAR,
578
 
  ER_WRONG_TYPE_FOR_VAR,
579
 
  ER_VAR_CANT_BE_READ,
580
 
  ER_CANT_USE_OPTION_HERE,
581
 
  ER_NOT_SUPPORTED_YET,
582
 
  ER_UNUSED1236,
583
 
  ER_UNUSED1237,
584
 
  ER_INCORRECT_GLOBAL_LOCAL_VAR,
585
 
  ER_WRONG_FK_DEF,
586
 
  ER_KEY_REF_DO_NOT_MATCH_TABLE_REF,
587
 
  ER_OPERAND_COLUMNS,
588
 
  ER_SUBQUERY_NO_1_ROW,
589
 
  ER_UNUSED1243,
590
 
  ER_UNUSED1244,
591
 
  ER_UNUSED1245,
592
 
  ER_AUTO_CONVERT,
593
 
  ER_ILLEGAL_REFERENCE,
594
 
  ER_DERIVED_MUST_HAVE_ALIAS,
595
 
  ER_SELECT_REDUCED,
596
 
  ER_TABLENAME_NOT_ALLOWED_HERE,
597
 
  ER_UNUSED1251,
598
 
  ER_SPATIAL_CANT_HAVE_NULL,
599
 
  ER_COLLATION_CHARSET_MISMATCH,
600
 
  ER_UNUSED1254,
601
 
  ER_UNUSED1255,
602
 
  ER_TOO_BIG_FOR_UNCOMPRESS,
603
 
  ER_ZLIB_Z_MEM_ERROR,
604
 
  ER_ZLIB_Z_BUF_ERROR,
605
 
  ER_ZLIB_Z_DATA_ERROR,
606
 
  ER_CUT_VALUE_GROUP_CONCAT,
607
 
  ER_WARN_TOO_FEW_RECORDS,
608
 
  ER_WARN_TOO_MANY_RECORDS,
609
 
  ER_WARN_NULL_TO_NOTNULL,
610
 
  ER_WARN_DATA_OUT_OF_RANGE,
611
 
  ER_WARN_DATA_TRUNCATED,
612
 
  ER_UNUSED1266,
613
 
  ER_CANT_AGGREGATE_2COLLATIONS,
614
 
  ER_UNUSED1268,
615
 
  ER_UNUSED1269,
616
 
  ER_CANT_AGGREGATE_3COLLATIONS,
617
 
  ER_CANT_AGGREGATE_NCOLLATIONS,
618
 
  ER_VARIABLE_IS_NOT_STRUCT,
619
 
  ER_UNKNOWN_COLLATION,
620
 
  ER_UNUSED1274,
621
 
  ER_UNUSED1275,
622
 
  ER_WARN_FIELD_RESOLVED,
623
 
  ER_UNUSED1277,
624
 
  ER_UNUSED1278,
625
 
  ER_UNUSED1279,
626
 
  ER_WRONG_NAME_FOR_INDEX,
627
 
  ER_WRONG_NAME_FOR_CATALOG,
628
 
  ER_UNUSED1282,
629
 
  ER_BAD_FT_COLUMN,
630
 
  ER_UNUSED1284,
631
 
  ER_UNUSED1285,
632
 
  ER_UNKNOWN_STORAGE_ENGINE,
633
 
  ER_UNUSED1287,
634
 
  ER_NON_UPDATABLE_TABLE,
635
 
  ER_FEATURE_DISABLED,
636
 
  ER_OPTION_PREVENTS_STATEMENT,
637
 
  ER_DUPLICATED_VALUE_IN_TYPE,
638
 
  ER_TRUNCATED_WRONG_VALUE,
639
 
  ER_TOO_MUCH_AUTO_TIMESTAMP_COLS,
640
 
  ER_INVALID_ON_UPDATE,
641
 
  ER_UNUSED1295,
642
 
  ER_GET_ERRMSG,
643
 
  ER_GET_TEMPORARY_ERRMSG,
644
 
  ER_UNKNOWN_TIME_ZONE,
645
 
  ER_UNUSED1299,
646
 
  ER_INVALID_CHARACTER_STRING,
647
 
  ER_WARN_ALLOWED_PACKET_OVERFLOWED,
648
 
  ER_UNUSED1302,
649
 
  ER_UNUSED1303,
650
 
  ER_UNUSED1304,
651
 
  ER_SP_DOES_NOT_EXIST,
652
 
  ER_UNUSED1306,
653
 
  ER_UNUSED1307,
654
 
  ER_UNUSED1308,
655
 
  ER_UNUSED1309,
656
 
  ER_UNUSED1310,
657
 
  ER_UNUSED1311,
658
 
  ER_UNUSED1312,
659
 
  ER_UNUSED1313,
660
 
  ER_UNUSED1314,
661
 
  ER_UNUSED1315,
662
 
  ER_UNUSED1316,
663
 
  ER_QUERY_INTERRUPTED,
664
 
  ER_UNUSED1318,
665
 
  ER_UNUSED1319,
666
 
  ER_UNUSED1320,
667
 
  ER_UNUSED1321,
668
 
  ER_UNUSED1322,
669
 
  ER_UNUSED1323,
670
 
  ER_UNUSED1324,
671
 
  ER_UNUSED1325,
672
 
  ER_UNUSED1326,
673
 
  ER_UNUSED1327,
674
 
  ER_UNUSED1328,
675
 
  ER_SP_FETCH_NO_DATA,
676
 
  ER_UNUSED1330,
677
 
  ER_UNUSED1331,
678
 
  ER_UNUSED1332,
679
 
  ER_UNUSED1333,
680
 
  ER_UNUSED1334,
681
 
  ER_UNUSED1335,
682
 
  ER_UNUSED1336,
683
 
  ER_UNUSED1337,
684
 
  ER_UNUSED1338,
685
 
  ER_UNUSED1339,
686
 
  ER_UNUSED1340,
687
 
  ER_UNUSED1341,
688
 
  ER_UNUSED1342,
689
 
  ER_UNUSED1343,
690
 
  ER_UNUSED1344,
691
 
  ER_UNUSED1345,
692
 
  ER_UNUSED1346,
693
 
  ER_UNUSED1347,
694
 
  ER_UNUSED1348,
695
 
  ER_UNUSED1349,
696
 
  ER_UNUSED1350,
697
 
  ER_UNUSED1351,
698
 
  ER_UNUSED1352,
699
 
  ER_UNUSED1353,
700
 
  ER_UNUSED1354,
701
 
  ER_UNUSED1355,
702
 
  ER_VIEW_INVALID,
703
 
  ER_UNUSED1357,
704
 
  ER_UNUSED1358,
705
 
  ER_UNUSED1359,
706
 
  ER_UNUSED1360,
707
 
  ER_UNUSED1361,
708
 
  ER_UNUSED1362,
709
 
  ER_UNUSED1363,
710
 
  ER_NO_DEFAULT_FOR_FIELD,
711
 
  ER_DIVISION_BY_ZERO,
712
 
  ER_TRUNCATED_WRONG_VALUE_FOR_FIELD,
713
 
  ER_ILLEGAL_VALUE_FOR_TYPE,
714
 
  ER_UNUSED1368,
715
 
  ER_UNUSED1369,
716
 
  ER_UNUSED1370,
717
 
  ER_UNUSED1371,
718
 
  ER_UNUSED1372,
719
 
  ER_UNUSED1373,
720
 
  ER_UNUSED1374,
721
 
  ER_UNUSED1375,
722
 
  ER_UNUSED1376,
723
 
  ER_UNUSED1377,
724
 
  ER_UNUSED1378,
725
 
  ER_UNUSED1379,
726
 
  ER_UNUSED1380,
727
 
  ER_UNUSED1381,
728
 
  ER_UNUSED1382,
729
 
  ER_UNUSED1383,
730
 
  ER_UNUSED1384,
731
 
  ER_UNUSED1385,
732
 
  ER_UNUSED1386,
733
 
  ER_UNUSED1387,
734
 
  ER_UNUSED1388,
735
 
  ER_UNUSED1389,
736
 
  ER_UNUSED1390,
737
 
  ER_KEY_PART_0,
738
 
  ER_UNUSED1392,
739
 
  ER_UNUSED1393,
740
 
  ER_UNUSED1394,
741
 
  ER_UNUSED1395,
742
 
  ER_UNUSED1396,
743
 
  ER_UNUSED1397,
744
 
  ER_UNUSED1398,
745
 
  ER_XAER_RMFAIL,
746
 
  ER_UNUSED1400,
747
 
  ER_UNUSED1401,
748
 
  ER_UNUSED1402,
749
 
  ER_UNUSED1403,
750
 
  ER_UNUSED1404,
751
 
  ER_UNUSED1405,
752
 
  ER_DATA_TOO_LONG,
753
 
  ER_UNUSED1407,
754
 
  ER_STARTUP,
755
 
  ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR,
756
 
  ER_UNUSED1410,
757
 
  ER_WRONG_VALUE_FOR_TYPE,
758
 
  ER_TABLE_DEF_CHANGED,
759
 
  ER_UNUSED1413,
760
 
  ER_UNUSED1414,
761
 
  ER_SP_NO_RETSET,
762
 
  ER_CANT_CREATE_GEOMETRY_OBJECT,
763
 
  ER_UNUSED1417,
764
 
  ER_UNUSED1418,
765
 
  ER_UNUSED1419,
766
 
  ER_UNUSED1420,
767
 
  ER_UNUSED1421,
768
 
  ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG,
769
 
  ER_UNUSED1423,
770
 
  ER_UNUSED1424,
771
 
  ER_TOO_BIG_SCALE,
772
 
  ER_TOO_BIG_PRECISION,
773
 
  ER_M_BIGGER_THAN_D,
774
 
  ER_UNUSED1428,
775
 
  ER_UNUSED1429,
776
 
  ER_UNUSED1430,
777
 
  ER_UNUSED1431,
778
 
  ER_UNUSED1432,
779
 
  ER_UNUSED1433,
780
 
  ER_UNUSED1434,
781
 
  ER_TRG_IN_WRONG_SCHEMA,
782
 
  ER_STACK_OVERRUN_NEED_MORE=1436, // TODO: Test case looks for this int
783
 
  ER_UNUSED1437,
784
 
  ER_UNUSED1438,
785
 
  ER_TOO_BIG_DISPLAYWIDTH,
786
 
  ER_UNUSED1440,
787
 
  ER_DATETIME_FUNCTION_OVERFLOW,
788
 
  ER_UNUSED1442,
789
 
  ER_UNUSED1443,
790
 
  ER_UNUSED1444,
791
 
  ER_UNUSED1445,
792
 
  ER_UNUSED1446,
793
 
  ER_UNUSED1447,
794
 
  ER_UNUSED1448,
795
 
  ER_UNUSED1449,
796
 
  ER_UNUSED1450,
797
 
  ER_ROW_IS_REFERENCED_2,
798
 
  ER_NO_REFERENCED_ROW_2,
799
 
  ER_UNUSED1453,
800
 
  ER_UNUSED1454,
801
 
  ER_UNUSED1455,
802
 
  ER_UNUSED1456,
803
 
  ER_UNUSED1457,
804
 
  ER_UNUSED1458,
805
 
  ER_TABLE_NEEDS_UPGRADE,
806
 
  ER_UNUSED1460,
807
 
  ER_UNUSED1461,
808
 
  ER_UNUSED1462,
809
 
  ER_NON_GROUPING_FIELD_USED,
810
 
  ER_TABLE_CANT_HANDLE_SPKEYS,
811
 
  ER_UNUSED1465,
812
 
  ER_REMOVED_SPACES,
813
 
  ER_AUTOINC_READ_FAILED,
814
 
  ER_UNUSED1468,
815
 
  ER_UNUSED1469,
816
 
  ER_WRONG_STRING_LENGTH,
817
 
  ER_UNUSED1471,
818
 
  ER_UNUSED1472,
819
 
  ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT,
820
 
  ER_NAME_BECOMES_EMPTY,
821
 
  ER_AMBIGUOUS_FIELD_TERM,
822
 
  ER_UNUSED1476,
823
 
  ER_UNUSED1477,
824
 
  ER_ILLEGAL_HA_CREATE_OPTION,
825
 
  ER_UNUSED1479,
826
 
  ER_UNUSED1480,
827
 
  ER_UNUSED1481,
828
 
  ER_UNUSED1482,
829
 
  ER_UNUSED1483,
830
 
  ER_UNUSED1484,
831
 
  ER_UNUSED1485,
832
 
  ER_UNUSED1486,
833
 
  ER_UNUSED1487,
834
 
  ER_UNUSED1488,
835
 
  ER_UNUSED1489,
836
 
  ER_UNUSED1490,
837
 
  ER_UNUSED1491,
838
 
  ER_UNUSED1492,
839
 
  ER_UNUSED1493,
840
 
  ER_UNUSED1494,
841
 
  ER_UNUSED1495,
842
 
  ER_UNUSED1496,
843
 
  ER_UNUSED1497,
844
 
  ER_UNUSED1498,
845
 
  ER_UNUSED1499,
846
 
  ER_UNUSED1500,
847
 
  ER_UNUSED1501,
848
 
  ER_UNUSED1502,
849
 
  ER_UNUSED1503,
850
 
  ER_UNUSED1504,
851
 
  ER_UNUSED1505,
852
 
  ER_UNUSED1506,
853
 
  ER_UNUSED1507,
854
 
  ER_UNUSED1508,
855
 
  ER_UNUSED1509,
856
 
  ER_UNUSED1510,
857
 
  ER_UNUSED1511,
858
 
  ER_UNUSED1512,
859
 
  ER_UNUSED1513,
860
 
  ER_UNUSED1514,
861
 
  ER_UNUSED1515,
862
 
  ER_UNUSED1516,
863
 
  ER_UNUSED1517,
864
 
  ER_UNUSED1518,
865
 
  ER_UNUSED1519,
866
 
  ER_UNUSED1520,
867
 
  ER_UNUSED1521,
868
 
  ER_UNUSED1522,
869
 
  ER_UNUSED1523,
870
 
  ER_INVALID_OPTION_VALUE,
871
 
  ER_WRONG_VALUE,
872
 
  ER_NO_PARTITION_FOR_GIVEN_VALUE,
873
 
  ER_UNUSED1527,
874
 
  ER_UNUSED1528,
875
 
  ER_UNUSED1529,
876
 
  ER_UNUSED1530,
877
 
  ER_UNUSED1531,
878
 
  ER_UNUSED1532,
879
 
  ER_UNUSED1533,
880
 
  ER_BINLOG_ROW_LOGGING_FAILED,
881
 
  ER_UNUSED1535,
882
 
  ER_UNUSED1536,
883
 
  ER_UNUSED1537,
884
 
  ER_UNUSED1538,
885
 
  ER_UNUSED1539,
886
 
  ER_UNUSED1540,
887
 
  ER_UNUSED1541,
888
 
  ER_UNUSED1542,
889
 
  ER_UNUSED1543,
890
 
  ER_UNUSED1544,
891
 
  ER_UNUSED1545,
892
 
  ER_UNUSED1546,
893
 
  ER_UNUSED1547,
894
 
  ER_UNUSED1548,
895
 
  ER_UNUSED1549,
896
 
  ER_UNUSED1550,
897
 
  ER_UNUSED1551,
898
 
  ER_UNUSED1552,
899
 
  ER_DROP_INDEX_FK,
900
 
  ER_UNUSED1554,
901
 
  ER_UNUSED1555,
902
 
  ER_UNUSED1556,
903
 
  ER_FOREIGN_DUPLICATE_KEY,
904
 
  ER_UNUSED1558,
905
 
  ER_UNUSED1559,
906
 
  ER_UNUSED1560,
907
 
  ER_UNUSED1561,
908
 
  ER_UNUSED1562,
909
 
  ER_UNUSED1563,
910
 
  ER_UNUSED1564,
911
 
  ER_UNUSED1565,
912
 
  ER_UNUSED1566,
913
 
  ER_UNUSED1567,
914
 
  ER_CANT_CHANGE_TX_ISOLATION,
915
 
  ER_UNUSED1569,
916
 
  ER_UNUSED1570,
917
 
  ER_UNUSED1571,
918
 
  ER_UNUSED1572,
919
 
  ER_UNUSED1573,
920
 
  ER_UNUSED1574,
921
 
  ER_UNUSED1575,
922
 
  ER_UNUSED1576,
923
 
  ER_UNUSED1577,
924
 
  ER_UNUSED1578,
925
 
  ER_UNUSED1579,
926
 
  ER_UNUSED1580,
927
 
  ER_UNUSED1581,
928
 
  ER_WRONG_PARAMCOUNT_TO_FUNCTION,
929
 
  ER_WRONG_PARAMETERS_TO_NATIVE_FCT,
930
 
  ER_UNUSED1584,
931
 
  ER_UNUSED1585,
932
 
  ER_DUP_ENTRY_WITH_KEY_NAME,
933
 
  ER_UNUSED1587,
934
 
  ER_UNUSED1588,
935
 
  ER_UNUSED1589,
936
 
  ER_UNUSED1590,
937
 
  ER_UNUSED1591,
938
 
  ER_UNUSED1592,
939
 
  ER_UNUSED1593,
940
 
  ER_UNUSED1594,
941
 
  ER_UNUSED1595,
942
 
  ER_UNUSED1596,
943
 
  ER_UNUSED1597,
944
 
  ER_UNUSED1598,
945
 
  ER_UNUSED1599,
946
 
  ER_UNUSED1600,
947
 
  ER_UNUSED1601,
948
 
  ER_UNUSED1602,
949
 
  ER_UNUSED1603,
950
 
  ER_UNUSED1604,
951
 
  ER_UNUSED1605,
952
 
  ER_UNUSED1606,
953
 
  ER_UNUSED1607,
954
 
  ER_UNUSED1608,
955
 
  ER_UNUSED1609,
956
 
  ER_UNUSED1610,
957
 
  ER_LOAD_DATA_INVALID_COLUMN,
958
 
  ER_UNUSED1612,
959
 
  ER_UNUSED1613,
960
 
  ER_UNUSED1614,
961
 
  ER_UNUSED1615,
962
 
  ER_UNUSED1616,
963
 
  ER_UNUSED1617,
964
 
  ER_UNUSED1618,
965
 
  ER_UNUSED1619,
966
 
  ER_UNUSED1620,
967
 
  ER_UNUSED1621,
968
 
  ER_UNUSED1622,
969
 
  ER_UNUSED1623,
970
 
  ER_UNUSED1624,
971
 
  ER_UNUSED1625,
972
 
  ER_UNUSED1626,
973
 
  ER_UNUSED1627,
974
 
  ER_UNUSED1628,
975
 
  ER_UNUSED1629,
976
 
  ER_UNUSED1630,
977
 
  ER_UNUSED1631,
978
 
  ER_UNUSED1632,
979
 
  ER_UNUSED1633,
980
 
  ER_UNUSED1634,
981
 
  ER_UNUSED1635,
982
 
  ER_UNUSED1636,
983
 
  ER_UNUSED1637,
984
 
  ER_UNUSED1638,
985
 
  ER_UNUSED1639,
986
 
  ER_UNUSED1640,
987
 
  ER_UNUSED1641,
988
 
  ER_UNUSED1642,
989
 
  ER_UNUSED1643,
990
 
  ER_UNUSED1644,
991
 
  ER_UNUSED1645,
992
 
  ER_UNUSED1646,
993
 
  ER_UNUSED1647,
994
 
  ER_UNUSED1648,
995
 
  ER_UNUSED1649,
996
 
  ER_UNUSED1650,
997
 
  ER_UNUSED1651,
998
 
  ER_UNUSED1652,
999
 
  ER_UNUSED1653,
1000
 
  ER_UNUSED1654,
1001
 
  ER_UNUSED1655,
1002
 
  ER_UNUSED1656,
1003
 
  ER_UNUSED1657,
1004
 
  ER_UNUSED1658,
1005
 
  ER_UNUSED1659,
1006
 
  ER_UNUSED1660,
1007
 
  ER_UNUSED1661,
1008
 
  ER_UNUSED1662,
1009
 
  ER_UNUSED1663,
1010
 
  ER_UNUSED1664,
1011
 
  ER_UNUSED1665,
1012
 
  ER_UNUSED1666,
1013
 
  ER_UNUSED1667,
1014
 
  ER_UNUSED1668,
1015
 
  ER_UNUSED1669,
1016
 
  ER_UNUSED1670,
1017
 
  ER_UNUSED1671,
1018
 
  ER_UNUSED1672,
1019
 
  ER_UNUSED1673,
1020
 
  ER_UNUSED1674,
1021
 
  ER_UNUSED1675,
1022
 
  ER_UNUSED1676,
1023
 
  ER_UNUSED1677,
1024
 
  ER_UNUSED1678,
1025
 
  ER_UNUSED1679,
1026
 
  ER_UNUSED1680,
1027
 
  ER_UNUSED1681,
1028
 
  ER_UNUSED1682,
1029
 
  ER_UNUSED1683,
1030
 
  ER_UNUSED1684,
1031
 
  ER_INVALID_UNIX_TIMESTAMP_VALUE,
1032
 
  ER_INVALID_DATETIME_VALUE,
1033
 
  ER_INVALID_NULL_ARGUMENT,
1034
 
  ER_UNUSED1688,
1035
 
  ER_ARGUMENT_OUT_OF_RANGE,
1036
 
  ER_UNUSED1690,
1037
 
  ER_INVALID_ENUM_VALUE,
1038
 
  ER_NO_PRIMARY_KEY_ON_REPLICATED_TABLE,
1039
 
  ER_CORRUPT_TABLE_DEFINITION,
1040
 
  ER_SCHEMA_DOES_NOT_EXIST,
1041
 
  ER_ALTER_SCHEMA,
1042
 
  ER_DROP_SCHEMA,
1043
 
  ER_USE_SQL_BIG_RESULT,
1044
 
  ER_UNKNOWN_ENGINE_OPTION,
1045
 
  ER_UNKNOWN_SCHEMA_OPTION,
1046
 
  ER_EVENT_OBSERVER_PLUGIN,
1047
 
  ER_CORRUPT_SCHEMA_DEFINITION,
1048
 
  ER_OUT_OF_GLOBAL_SORTMEMORY,
1049
 
  ER_OUT_OF_GLOBAL_JOINMEMORY,
1050
 
  ER_OUT_OF_GLOBAL_READRNDMEMORY,
1051
 
  ER_OUT_OF_GLOBAL_READMEMORY,
1052
 
  ER_USER_LOCKS_CANT_WAIT_ON_OWN_BARRIER,
1053
 
  ER_USER_LOCKS_UNKNOWN_BARRIER,
1054
 
  ER_USER_LOCKS_NOT_OWNER_OF_BARRIER,
1055
 
  ER_USER_LOCKS_CANT_WAIT_ON_OWN_LOCK,
1056
 
  ER_USER_LOCKS_NOT_OWNER_OF_LOCK,
1057
 
  ER_USER_LOCKS_INVALID_NAME_BARRIER,
1058
 
  ER_USER_LOCKS_INVALID_NAME_LOCK,
1059
 
  ER_KILL_DENY_SELF_ERROR,
1060
 
  ER_INVALID_ALTER_TABLE_FOR_NOT_NULL,
1061
 
  ER_ADMIN_ACCESS,
1062
 
  ER_INVALID_UUID_VALUE,
1063
 
  ER_INVALID_UUID_TIME,
1064
 
  ER_CORRUPT_TABLE_DEFINITION_ENUM,
1065
 
  ER_CORRUPT_TABLE_DEFINITION_UNKNOWN_COLLATION,
1066
 
  ER_INVALID_CAST_TO_SIGNED,
1067
 
  ER_INVALID_CAST_TO_UNSIGNED,
1068
 
  ER_INVALID_BOOLEAN_VALUE,
1069
 
  ER_ASSERT,
1070
 
  ER_ASSERT_NULL,
1071
 
  ER_TABLE_DROP,
1072
 
  ER_INVALID_CAST_TO_BOOLEAN,
1073
 
  
1074
 
  // Leave ER_INVALID_BOOLEAN_VALUE as LAST, and force people to use tags
1075
 
  // instead of numbers in error messages in test.
1076
 
  ER_ERROR_LAST= ER_INVALID_CAST_TO_BOOLEAN
1077
 
};
1078
 
 
1079
312
enum drizzle_exit_codes {
1080
313
  EXIT_UNSPECIFIED_ERROR = 1,
1081
314
  EXIT_UNKNOWN_OPTION,