9
3

handler_ername.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* Copyright (c) 2013 SkySQL Ab
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; version 2 of the License.
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License
  10. along with this program; if not, write to the Free Software Foundation,
  11. Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
  12. /* Names of all handler error numbers. Used by mysqltest */
  13. { "HA_ERR_KEY_NOT_FOUND", HA_ERR_KEY_NOT_FOUND, "" },
  14. { "HA_ERR_FOUND_DUPP_KEY", HA_ERR_FOUND_DUPP_KEY, "" },
  15. { "HA_ERR_INTERNAL_ERROR", HA_ERR_INTERNAL_ERROR, "" },
  16. { "HA_ERR_RECORD_CHANGED", HA_ERR_RECORD_CHANGED, "" },
  17. { "HA_ERR_WRONG_INDEX", HA_ERR_WRONG_INDEX, "" },
  18. { "HA_ERR_CRASHED", HA_ERR_CRASHED, "" },
  19. { "HA_ERR_WRONG_IN_RECORD", HA_ERR_WRONG_IN_RECORD, "" },
  20. { "HA_ERR_OUT_OF_MEM", HA_ERR_OUT_OF_MEM, "" },
  21. { "HA_ERR_NOT_A_TABLE", HA_ERR_NOT_A_TABLE, "" },
  22. { "HA_ERR_WRONG_COMMAND", HA_ERR_WRONG_COMMAND, "" },
  23. { "HA_ERR_OLD_FILE", HA_ERR_OLD_FILE, "" },
  24. { "HA_ERR_NO_ACTIVE_RECORD", HA_ERR_NO_ACTIVE_RECORD, "" },
  25. { "HA_ERR_RECORD_DELETED", HA_ERR_RECORD_DELETED, "" },
  26. { "HA_ERR_RECORD_FILE_FULL", HA_ERR_RECORD_FILE_FULL, "" },
  27. { "HA_ERR_INDEX_FILE_FULL", HA_ERR_INDEX_FILE_FULL, "" },
  28. { "HA_ERR_END_OF_FILE", HA_ERR_END_OF_FILE, "" },
  29. { "HA_ERR_UNSUPPORTED", HA_ERR_UNSUPPORTED, "" },
  30. { "HA_ERR_TO_BIG_ROW", HA_ERR_TO_BIG_ROW, "" },
  31. { "HA_WRONG_CREATE_OPTION", HA_WRONG_CREATE_OPTION, "" },
  32. { "HA_ERR_FOUND_DUPP_UNIQUE", HA_ERR_FOUND_DUPP_UNIQUE, "" },
  33. { "HA_ERR_UNKNOWN_CHARSET", HA_ERR_UNKNOWN_CHARSET, "" },
  34. { "HA_ERR_WRONG_MRG_TABLE_DEF", HA_ERR_WRONG_MRG_TABLE_DEF, "" },
  35. { "HA_ERR_CRASHED_ON_REPAIR", HA_ERR_CRASHED_ON_REPAIR, "" },
  36. { "HA_ERR_CRASHED_ON_USAGE", HA_ERR_CRASHED_ON_USAGE, "" },
  37. { "HA_ERR_LOCK_WAIT_TIMEOUT", HA_ERR_LOCK_WAIT_TIMEOUT, "" },
  38. { "HA_ERR_LOCK_TABLE_FULL", HA_ERR_LOCK_TABLE_FULL, "" },
  39. { "HA_ERR_READ_ONLY_TRANSACTION", HA_ERR_READ_ONLY_TRANSACTION, "" },
  40. { "HA_ERR_LOCK_DEADLOCK", HA_ERR_LOCK_DEADLOCK, "" },
  41. { "HA_ERR_CANNOT_ADD_FOREIGN", HA_ERR_CANNOT_ADD_FOREIGN, "" },
  42. { "HA_ERR_NO_REFERENCED_ROW", HA_ERR_NO_REFERENCED_ROW, "" },
  43. { "HA_ERR_ROW_IS_REFERENCED", HA_ERR_ROW_IS_REFERENCED, "" },
  44. { "HA_ERR_NO_SAVEPOINT", HA_ERR_NO_SAVEPOINT, "" },
  45. { "HA_ERR_NON_UNIQUE_BLOCK_SIZE", HA_ERR_NON_UNIQUE_BLOCK_SIZE, "" },
  46. { "HA_ERR_NO_SUCH_TABLE", HA_ERR_NO_SUCH_TABLE, "" },
  47. { "HA_ERR_TABLE_EXIST", HA_ERR_TABLE_EXIST, "" },
  48. { "HA_ERR_NO_CONNECTION", HA_ERR_NO_CONNECTION, "" },
  49. { "HA_ERR_NULL_IN_SPATIAL", HA_ERR_NULL_IN_SPATIAL, "" },
  50. { "HA_ERR_TABLE_DEF_CHANGED", HA_ERR_TABLE_DEF_CHANGED, "" },
  51. { "HA_ERR_NO_PARTITION_FOUND", HA_ERR_NO_PARTITION_FOUND, "" },
  52. { "HA_ERR_RBR_LOGGING_FAILED", HA_ERR_RBR_LOGGING_FAILED, "" },
  53. { "HA_ERR_DROP_INDEX_FK", HA_ERR_DROP_INDEX_FK, "" },
  54. { "HA_ERR_FOREIGN_DUPLICATE_KEY", HA_ERR_FOREIGN_DUPLICATE_KEY, "" },
  55. { "HA_ERR_TABLE_NEEDS_UPGRADE", HA_ERR_TABLE_NEEDS_UPGRADE, "" },
  56. { "HA_ERR_TABLE_READONLY", HA_ERR_TABLE_READONLY, "" },
  57. { "HA_ERR_AUTOINC_READ_FAILED", HA_ERR_AUTOINC_READ_FAILED, "" },
  58. { "HA_ERR_AUTOINC_ERANGE", HA_ERR_AUTOINC_ERANGE, "" },
  59. { "HA_ERR_GENERIC", HA_ERR_GENERIC, "" },
  60. { "HA_ERR_RECORD_IS_THE_SAME", HA_ERR_RECORD_IS_THE_SAME, "" },
  61. { "HA_ERR_LOGGING_IMPOSSIBLE", HA_ERR_LOGGING_IMPOSSIBLE, "" },
  62. { "HA_ERR_CORRUPT_EVENT", HA_ERR_CORRUPT_EVENT, "" },
  63. { "HA_ERR_NEW_FILE", HA_ERR_NEW_FILE, "" },
  64. { "HA_ERR_ROWS_EVENT_APPLY", HA_ERR_ROWS_EVENT_APPLY, "" },
  65. { "HA_ERR_INITIALIZATION", HA_ERR_INITIALIZATION, "" },
  66. { "HA_ERR_FILE_TOO_SHORT", HA_ERR_FILE_TOO_SHORT, "" },
  67. { "HA_ERR_WRONG_CRC", HA_ERR_WRONG_CRC, "" },
  68. { "HA_ERR_TOO_MANY_CONCURRENT_TRXS", HA_ERR_TOO_MANY_CONCURRENT_TRXS, "" },
  69. { "HA_ERR_INDEX_COL_TOO_LONG", HA_ERR_INDEX_COL_TOO_LONG, "" },
  70. { "HA_ERR_INDEX_CORRUPT", HA_ERR_INDEX_CORRUPT, "" },
  71. { "HA_ERR_UNDO_REC_TOO_BIG", HA_ERR_UNDO_REC_TOO_BIG, "" },
  72. { "HA_ERR_TABLE_IN_FK_CHECK", HA_ERR_TABLE_IN_FK_CHECK, "" },
  73. { "HA_ERR_ROW_NOT_VISIBLE", HA_ERR_ROW_NOT_VISIBLE, "" },
  74. { "HA_ERR_ABORTED_BY_USER", HA_ERR_ABORTED_BY_USER, "" },
  75. { "HA_ERR_DISK_FULL", HA_ERR_DISK_FULL, "" },
  76. { "HA_ERR_INCOMPATIBLE_DEFINITION", HA_ERR_INCOMPATIBLE_DEFINITION, "" },