9
3

sql_state.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /* Autogenerated file, please don't edit */
  2. { ER_DUP_KEY ,"23000", "" },
  3. { ER_OUTOFMEMORY ,"HY001", "S1001" },
  4. { ER_OUT_OF_SORTMEMORY ,"HY001", "S1001" },
  5. { ER_CON_COUNT_ERROR ,"08004", "" },
  6. { ER_BAD_HOST_ERROR ,"08S01", "" },
  7. { ER_HANDSHAKE_ERROR ,"08S01", "" },
  8. { ER_DBACCESS_DENIED_ERROR ,"42000", "" },
  9. { ER_ACCESS_DENIED_ERROR ,"28000", "" },
  10. { ER_NO_DB_ERROR ,"3D000", "" },
  11. { ER_UNKNOWN_COM_ERROR ,"08S01", "" },
  12. { ER_BAD_NULL_ERROR ,"23000", "" },
  13. { ER_BAD_DB_ERROR ,"42000", "" },
  14. { ER_TABLE_EXISTS_ERROR ,"42S01", "" },
  15. { ER_BAD_TABLE_ERROR ,"42S02", "" },
  16. { ER_NON_UNIQ_ERROR ,"23000", "" },
  17. { ER_SERVER_SHUTDOWN ,"08S01", "" },
  18. { ER_BAD_FIELD_ERROR ,"42S22", "S0022" },
  19. { ER_WRONG_FIELD_WITH_GROUP ,"42000", "S1009" },
  20. { ER_WRONG_GROUP_FIELD ,"42000", "S1009" },
  21. { ER_WRONG_SUM_SELECT ,"42000", "S1009" },
  22. { ER_WRONG_VALUE_COUNT ,"21S01", "" },
  23. { ER_TOO_LONG_IDENT ,"42000", "S1009" },
  24. { ER_DUP_FIELDNAME ,"42S21", "S1009" },
  25. { ER_DUP_KEYNAME ,"42000", "S1009" },
  26. { ER_DUP_ENTRY ,"23000", "S1009" },
  27. { ER_WRONG_FIELD_SPEC ,"42000", "S1009" },
  28. { ER_PARSE_ERROR ,"42000", "s1009" },
  29. { ER_EMPTY_QUERY ,"42000", "" },
  30. { ER_NONUNIQ_TABLE ,"42000", "S1009" },
  31. { ER_INVALID_DEFAULT ,"42000", "S1009" },
  32. { ER_MULTIPLE_PRI_KEY ,"42000", "S1009" },
  33. { ER_TOO_MANY_KEYS ,"42000", "S1009" },
  34. { ER_TOO_MANY_KEY_PARTS ,"42000", "S1009" },
  35. { ER_TOO_LONG_KEY ,"42000", "S1009" },
  36. { ER_KEY_COLUMN_DOES_NOT_EXITS ,"42000", "S1009" },
  37. { ER_BLOB_USED_AS_KEY ,"42000", "S1009" },
  38. { ER_TOO_BIG_FIELDLENGTH ,"42000", "S1009" },
  39. { ER_WRONG_AUTO_KEY ,"42000", "S1009" },
  40. { ER_FORCING_CLOSE ,"08S01", "" },
  41. { ER_IPSOCK_ERROR ,"08S01", "" },
  42. { ER_NO_SUCH_INDEX ,"42S12", "S1009" },
  43. { ER_WRONG_FIELD_TERMINATORS ,"42000", "S1009" },
  44. { ER_BLOBS_AND_NO_TERMINATED ,"42000", "S1009" },
  45. { ER_CANT_REMOVE_ALL_FIELDS ,"42000", "" },
  46. { ER_CANT_DROP_FIELD_OR_KEY ,"42000", "" },
  47. { ER_BLOB_CANT_HAVE_DEFAULT ,"42000", "" },
  48. { ER_WRONG_DB_NAME ,"42000", "" },
  49. { ER_WRONG_TABLE_NAME ,"42000", "" },
  50. { ER_TOO_BIG_SELECT ,"42000", "" },
  51. { ER_UNKNOWN_PROCEDURE ,"42000", "" },
  52. { ER_WRONG_PARAMCOUNT_TO_PROCEDURE ,"42000", "" },
  53. { ER_UNKNOWN_TABLE ,"42S02", "" },
  54. { ER_FIELD_SPECIFIED_TWICE ,"42000", "" },
  55. { ER_UNSUPPORTED_EXTENSION ,"42000", "" },
  56. { ER_TABLE_MUST_HAVE_COLUMNS ,"42000", "" },
  57. { ER_UNKNOWN_CHARACTER_SET ,"42000", "" },
  58. { ER_TOO_BIG_ROWSIZE ,"42000", "" },
  59. { ER_WRONG_OUTER_JOIN ,"42000", "" },
  60. { ER_NULL_COLUMN_IN_INDEX ,"42000", "" },
  61. { ER_PASSWORD_ANONYMOUS_USER ,"42000", "" },
  62. { ER_PASSWORD_NOT_ALLOWED ,"42000", "" },
  63. { ER_PASSWORD_NO_MATCH ,"42000", "" },
  64. { ER_WRONG_VALUE_COUNT_ON_ROW ,"21S01", "" },
  65. { ER_INVALID_USE_OF_NULL ,"22004", "" },
  66. { ER_REGEXP_ERROR ,"42000", "" },
  67. { ER_MIX_OF_GROUP_FUNC_AND_FIELDS ,"42000", "" },
  68. { ER_NONEXISTING_GRANT ,"42000", "" },
  69. { ER_TABLEACCESS_DENIED_ERROR ,"42000", "" },
  70. { ER_COLUMNACCESS_DENIED_ERROR ,"42000", "" },
  71. { ER_ILLEGAL_GRANT_FOR_TABLE ,"42000", "" },
  72. { ER_GRANT_WRONG_HOST_OR_USER ,"42000", "" },
  73. { ER_NO_SUCH_TABLE ,"42S02", "" },
  74. { ER_NONEXISTING_TABLE_GRANT ,"42000", "" },
  75. { ER_NOT_ALLOWED_COMMAND ,"42000", "" },
  76. { ER_SYNTAX_ERROR ,"42000", "" },
  77. { ER_ABORTING_CONNECTION ,"08S01", "" },
  78. { ER_NET_PACKET_TOO_LARGE ,"08S01", "" },
  79. { ER_NET_READ_ERROR_FROM_PIPE ,"08S01", "" },
  80. { ER_NET_FCNTL_ERROR ,"08S01", "" },
  81. { ER_NET_PACKETS_OUT_OF_ORDER ,"08S01", "" },
  82. { ER_NET_UNCOMPRESS_ERROR ,"08S01", "" },
  83. { ER_NET_READ_ERROR ,"08S01", "" },
  84. { ER_NET_READ_INTERRUPTED ,"08S01", "" },
  85. { ER_NET_ERROR_ON_WRITE ,"08S01", "" },
  86. { ER_NET_WRITE_INTERRUPTED ,"08S01", "" },
  87. { ER_TOO_LONG_STRING ,"42000", "" },
  88. { ER_TABLE_CANT_HANDLE_BLOB ,"42000", "" },
  89. { ER_TABLE_CANT_HANDLE_AUTO_INCREMENT ,"42000", "" },
  90. { ER_WRONG_COLUMN_NAME ,"42000", "" },
  91. { ER_WRONG_KEY_COLUMN ,"42000", "" },
  92. { ER_DUP_UNIQUE ,"23000", "" },
  93. { ER_BLOB_KEY_WITHOUT_LENGTH ,"42000", "" },
  94. { ER_PRIMARY_CANT_HAVE_NULL ,"42000", "" },
  95. { ER_TOO_MANY_ROWS ,"42000", "" },
  96. { ER_REQUIRES_PRIMARY_KEY ,"42000", "" },
  97. { ER_KEY_DOES_NOT_EXITS ,"42000", "S1009" },
  98. { ER_CHECK_NO_SUCH_TABLE ,"42000", "" },
  99. { ER_CHECK_NOT_IMPLEMENTED ,"42000", "" },
  100. { ER_CANT_DO_THIS_DURING_AN_TRANSACTION ,"25000", "" },
  101. { ER_NEW_ABORTING_CONNECTION ,"08S01", "" },
  102. { ER_MASTER_NET_READ ,"08S01", "" },
  103. { ER_MASTER_NET_WRITE ,"08S01", "" },
  104. { ER_TOO_MANY_USER_CONNECTIONS ,"42000", "" },
  105. { ER_READ_ONLY_TRANSACTION ,"25000", "" },
  106. { ER_NO_PERMISSION_TO_CREATE_USER ,"42000", "" },
  107. { ER_LOCK_DEADLOCK ,"40001", "" },
  108. { ER_NO_REFERENCED_ROW ,"23000", "" },
  109. { ER_ROW_IS_REFERENCED ,"23000", "" },
  110. { ER_CONNECT_TO_MASTER ,"08S01", "" },
  111. { ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT ,"21000", "" },
  112. { ER_USER_LIMIT_REACHED ,"42000", "" },
  113. { ER_SPECIFIC_ACCESS_DENIED_ERROR ,"42000", "" },
  114. { ER_NO_DEFAULT ,"42000", "" },
  115. { ER_WRONG_VALUE_FOR_VAR ,"42000", "" },
  116. { ER_WRONG_TYPE_FOR_VAR ,"42000", "" },
  117. { ER_CANT_USE_OPTION_HERE ,"42000", "" },
  118. { ER_NOT_SUPPORTED_YET ,"42000", "" },
  119. { ER_WRONG_FK_DEF ,"42000", "" },
  120. { ER_OPERAND_COLUMNS ,"21000", "" },
  121. { ER_SUBQUERY_NO_1_ROW ,"21000", "" },
  122. { ER_ILLEGAL_REFERENCE ,"42S22", "" },
  123. { ER_DERIVED_MUST_HAVE_ALIAS ,"42000", "" },
  124. { ER_SELECT_REDUCED ,"01000", "" },
  125. { ER_TABLENAME_NOT_ALLOWED_HERE ,"42000", "" },
  126. { ER_NOT_SUPPORTED_AUTH_MODE ,"08004", "" },
  127. { ER_SPATIAL_CANT_HAVE_NULL ,"42000", "" },
  128. { ER_COLLATION_CHARSET_MISMATCH ,"42000", "" },
  129. { ER_WARN_TOO_FEW_RECORDS ,"01000", "" },
  130. { ER_WARN_TOO_MANY_RECORDS ,"01000", "" },
  131. { ER_WARN_NULL_TO_NOTNULL ,"22004", "" },
  132. { ER_WARN_DATA_OUT_OF_RANGE ,"22003", "" },
  133. { WARN_DATA_TRUNCATED ,"01000", "" },
  134. { ER_WRONG_NAME_FOR_INDEX ,"42000", "" },
  135. { ER_WRONG_NAME_FOR_CATALOG ,"42000", "" },
  136. { ER_UNKNOWN_STORAGE_ENGINE ,"42000", "" },
  137. { ER_TRUNCATED_WRONG_VALUE ,"22007", "" },
  138. { ER_SP_NO_RECURSIVE_CREATE ,"2F003", "" },
  139. { ER_SP_ALREADY_EXISTS ,"42000", "" },
  140. { ER_SP_DOES_NOT_EXIST ,"42000", "" },
  141. { ER_SP_LILABEL_MISMATCH ,"42000", "" },
  142. { ER_SP_LABEL_REDEFINE ,"42000", "" },
  143. { ER_SP_LABEL_MISMATCH ,"42000", "" },
  144. { ER_SP_UNINIT_VAR ,"01000", "" },
  145. { ER_SP_BADSELECT ,"0A000", "" },
  146. { ER_SP_BADRETURN ,"42000", "" },
  147. { ER_SP_BADSTATEMENT ,"0A000", "" },
  148. { ER_UPDATE_LOG_DEPRECATED_IGNORED ,"42000", "" },
  149. { ER_UPDATE_LOG_DEPRECATED_TRANSLATED ,"42000", "" },
  150. { ER_QUERY_INTERRUPTED ,"70100", "" },
  151. { ER_SP_WRONG_NO_OF_ARGS ,"42000", "" },
  152. { ER_SP_COND_MISMATCH ,"42000", "" },
  153. { ER_SP_NORETURN ,"42000", "" },
  154. { ER_SP_NORETURNEND ,"2F005", "" },
  155. { ER_SP_BAD_CURSOR_QUERY ,"42000", "" },
  156. { ER_SP_BAD_CURSOR_SELECT ,"42000", "" },
  157. { ER_SP_CURSOR_MISMATCH ,"42000", "" },
  158. { ER_SP_CURSOR_ALREADY_OPEN ,"24000", "" },
  159. { ER_SP_CURSOR_NOT_OPEN ,"24000", "" },
  160. { ER_SP_UNDECLARED_VAR ,"42000", "" },
  161. { ER_SP_FETCH_NO_DATA ,"02000", "" },
  162. { ER_SP_DUP_PARAM ,"42000", "" },
  163. { ER_SP_DUP_VAR ,"42000", "" },
  164. { ER_SP_DUP_COND ,"42000", "" },
  165. { ER_SP_DUP_CURS ,"42000", "" },
  166. { ER_SP_SUBSELECT_NYI ,"0A000", "" },
  167. { ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG ,"0A000", "" },
  168. { ER_SP_VARCOND_AFTER_CURSHNDLR ,"42000", "" },
  169. { ER_SP_CURSOR_AFTER_HANDLER ,"42000", "" },
  170. { ER_SP_CASE_NOT_FOUND ,"20000", "" },
  171. { ER_DIVISION_BY_ZERO ,"22012", "" },
  172. { ER_ILLEGAL_VALUE_FOR_TYPE ,"22007", "" },
  173. { ER_PROCACCESS_DENIED_ERROR ,"42000", "" },
  174. { ER_XAER_NOTA ,"XAE04", "" },
  175. { ER_XAER_INVAL ,"XAE05", "" },
  176. { ER_XAER_RMFAIL ,"XAE07", "" },
  177. { ER_XAER_OUTSIDE ,"XAE09", "" },
  178. { ER_XAER_RMERR ,"XAE03", "" },
  179. { ER_XA_RBROLLBACK ,"XA100", "" },
  180. { ER_NONEXISTING_PROC_GRANT ,"42000", "" },
  181. { ER_DATA_TOO_LONG ,"22001", "" },
  182. { ER_SP_BAD_SQLSTATE ,"42000", "" },
  183. { ER_CANT_CREATE_USER_WITH_GRANT ,"42000", "" },
  184. { ER_SP_DUP_HANDLER ,"42000", "" },
  185. { ER_SP_NOT_VAR_ARG ,"42000", "" },
  186. { ER_SP_NO_RETSET ,"0A000", "" },
  187. { ER_CANT_CREATE_GEOMETRY_OBJECT ,"22003", "" },
  188. { ER_TOO_BIG_SCALE ,"42000", "S1009" },
  189. { ER_TOO_BIG_PRECISION ,"42000", "S1009" },
  190. { ER_M_BIGGER_THAN_D ,"42000", "S1009" },
  191. { ER_TOO_LONG_BODY ,"42000", "S1009" },
  192. { ER_TOO_BIG_DISPLAYWIDTH ,"42000", "S1009" },
  193. { ER_XAER_DUPID ,"XAE08", "" },
  194. { ER_DATETIME_FUNCTION_OVERFLOW ,"22008", "" },
  195. { ER_ROW_IS_REFERENCED_2 ,"23000", "" },
  196. { ER_NO_REFERENCED_ROW_2 ,"23000", "" },
  197. { ER_SP_BAD_VAR_SHADOW ,"42000", "" },
  198. { ER_SP_WRONG_NAME ,"42000", "" },
  199. { ER_SP_NO_AGGREGATE ,"42000", "" },
  200. { ER_MAX_PREPARED_STMT_COUNT_REACHED ,"42000", "" },
  201. { ER_NON_GROUPING_FIELD_USED ,"42000", "" },
  202. { ER_FOREIGN_DUPLICATE_KEY ,"23000", "S1009" },
  203. { ER_CANT_CHANGE_TX_ISOLATION ,"25001", "" },
  204. { ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT ,"42000", "" },
  205. { ER_WRONG_PARAMETERS_TO_NATIVE_FCT ,"42000", "" },
  206. { ER_WRONG_PARAMETERS_TO_STORED_FCT ,"42000", "" },
  207. { ER_DUP_ENTRY_WITH_KEY_NAME ,"23000", "S1009" },
  208. { ER_XA_RBTIMEOUT ,"XA106", "" },
  209. { ER_XA_RBDEADLOCK ,"XA102", "" },
  210. { ER_FUNC_INEXISTENT_NAME_COLLISION ,"42000", "" },