error-code.js 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
  1. 'use strict';
  2. /**
  3. * File generated using test/tools/generate-mariadb.js
  4. * from MariaDB 10.5
  5. *
  6. * !!!!!! DO NOT CHANGE MANUALLY !!!!!!
  7. */
  8. let codes = {};
  9. codes[120] = 'HA_ERR_KEY_NOT_FOUND';
  10. codes[121] = 'HA_ERR_FOUND_DUPP_KEY';
  11. codes[122] = 'HA_ERR_INTERNAL_ERROR';
  12. codes[123] = 'HA_ERR_RECORD_CHANGED';
  13. codes[124] = 'HA_ERR_WRONG_INDEX';
  14. codes[126] = 'HA_ERR_CRASHED';
  15. codes[127] = 'HA_ERR_WRONG_IN_RECORD';
  16. codes[128] = 'HA_ERR_OUT_OF_MEM';
  17. codes[130] = 'HA_ERR_NOT_A_TABLE';
  18. codes[131] = 'HA_ERR_WRONG_COMMAND';
  19. codes[132] = 'HA_ERR_OLD_FILE';
  20. codes[133] = 'HA_ERR_NO_ACTIVE_RECORD';
  21. codes[134] = 'HA_ERR_RECORD_DELETED';
  22. codes[135] = 'HA_ERR_RECORD_FILE_FULL';
  23. codes[136] = 'HA_ERR_INDEX_FILE_FULL';
  24. codes[137] = 'HA_ERR_END_OF_FILE';
  25. codes[138] = 'HA_ERR_UNSUPPORTED';
  26. codes[139] = 'HA_ERR_TO_BIG_ROW';
  27. codes[140] = 'HA_WRONG_CREATE_OPTION';
  28. codes[141] = 'HA_ERR_FOUND_DUPP_UNIQUE';
  29. codes[142] = 'HA_ERR_UNKNOWN_CHARSET';
  30. codes[143] = 'HA_ERR_WRONG_MRG_TABLE_DEF';
  31. codes[144] = 'HA_ERR_CRASHED_ON_REPAIR';
  32. codes[145] = 'HA_ERR_CRASHED_ON_USAGE';
  33. codes[146] = 'HA_ERR_LOCK_WAIT_TIMEOUT';
  34. codes[147] = 'HA_ERR_LOCK_TABLE_FULL';
  35. codes[148] = 'HA_ERR_READ_ONLY_TRANSACTION';
  36. codes[149] = 'HA_ERR_LOCK_DEADLOCK';
  37. codes[150] = 'HA_ERR_CANNOT_ADD_FOREIGN';
  38. codes[151] = 'HA_ERR_NO_REFERENCED_ROW';
  39. codes[152] = 'HA_ERR_ROW_IS_REFERENCED';
  40. codes[153] = 'HA_ERR_NO_SAVEPOINT';
  41. codes[154] = 'HA_ERR_NON_UNIQUE_BLOCK_SIZE';
  42. codes[155] = 'HA_ERR_NO_SUCH_TABLE';
  43. codes[156] = 'HA_ERR_TABLE_EXIST';
  44. codes[157] = 'HA_ERR_NO_CONNECTION';
  45. codes[158] = 'HA_ERR_NULL_IN_SPATIAL';
  46. codes[159] = 'HA_ERR_TABLE_DEF_CHANGED';
  47. codes[160] = 'HA_ERR_NO_PARTITION_FOUND';
  48. codes[161] = 'HA_ERR_RBR_LOGGING_FAILED';
  49. codes[162] = 'HA_ERR_DROP_INDEX_FK';
  50. codes[163] = 'HA_ERR_FOREIGN_DUPLICATE_KEY';
  51. codes[164] = 'HA_ERR_TABLE_NEEDS_UPGRADE';
  52. codes[165] = 'HA_ERR_TABLE_READONLY';
  53. codes[166] = 'HA_ERR_AUTOINC_READ_FAILED';
  54. codes[167] = 'HA_ERR_AUTOINC_ERANGE';
  55. codes[168] = 'HA_ERR_GENERIC';
  56. codes[169] = 'HA_ERR_RECORD_IS_THE_SAME';
  57. codes[170] = 'HA_ERR_LOGGING_IMPOSSIBLE';
  58. codes[171] = 'HA_ERR_CORRUPT_EVENT';
  59. codes[172] = 'HA_ERR_NEW_FILE';
  60. codes[173] = 'HA_ERR_ROWS_EVENT_APPLY';
  61. codes[174] = 'HA_ERR_INITIALIZATION';
  62. codes[175] = 'HA_ERR_FILE_TOO_SHORT';
  63. codes[176] = 'HA_ERR_WRONG_CRC';
  64. codes[177] = 'HA_ERR_TOO_MANY_CONCURRENT_TRXS';
  65. codes[178] = 'HA_ERR_NOT_IN_LOCK_PARTITIONS';
  66. codes[179] = 'HA_ERR_INDEX_COL_TOO_LONG';
  67. codes[180] = 'HA_ERR_INDEX_CORRUPT';
  68. codes[181] = 'HA_ERR_UNDO_REC_TOO_BIG';
  69. codes[182] = 'HA_FTS_INVALID_DOCID';
  70. codes[183] = 'HA_ERR_TABLE_IN_FK_CHECK';
  71. codes[184] = 'HA_ERR_TABLESPACE_EXISTS';
  72. codes[185] = 'HA_ERR_TOO_MANY_FIELDS';
  73. codes[186] = 'HA_ERR_ROW_IN_WRONG_PARTITION';
  74. codes[187] = 'HA_ERR_ROW_NOT_VISIBLE';
  75. codes[188] = 'HA_ERR_ABORTED_BY_USER';
  76. codes[189] = 'HA_ERR_DISK_FULL';
  77. codes[190] = 'HA_ERR_INCOMPATIBLE_DEFINITION';
  78. codes[191] = 'HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE';
  79. codes[192] = 'HA_ERR_DECRYPTION_FAILED';
  80. codes[193] = 'HA_ERR_FK_DEPTH_EXCEEDED';
  81. codes[194] = 'HA_ERR_TABLESPACE_MISSING';
  82. codes[195] = 'HA_ERR_SEQUENCE_INVALID_DATA';
  83. codes[196] = 'HA_ERR_SEQUENCE_RUN_OUT';
  84. codes[1000] = 'ER_HASHCHK';
  85. codes[1001] = 'ER_NISAMCHK';
  86. codes[1002] = 'ER_NO';
  87. codes[1003] = 'ER_YES';
  88. codes[1004] = 'ER_CANT_CREATE_FILE';
  89. codes[1005] = 'ER_CANT_CREATE_TABLE';
  90. codes[1006] = 'ER_CANT_CREATE_DB';
  91. codes[1007] = 'ER_DB_CREATE_EXISTS';
  92. codes[1008] = 'ER_DB_DROP_EXISTS';
  93. codes[1009] = 'ER_DB_DROP_DELETE';
  94. codes[1010] = 'ER_DB_DROP_RMDIR';
  95. codes[1011] = 'ER_CANT_DELETE_FILE';
  96. codes[1012] = 'ER_CANT_FIND_SYSTEM_REC';
  97. codes[1013] = 'ER_CANT_GET_STAT';
  98. codes[1014] = 'ER_CANT_GET_WD';
  99. codes[1015] = 'ER_CANT_LOCK';
  100. codes[1016] = 'ER_CANT_OPEN_FILE';
  101. codes[1017] = 'ER_FILE_NOT_FOUND';
  102. codes[1018] = 'ER_CANT_READ_DIR';
  103. codes[1019] = 'ER_CANT_SET_WD';
  104. codes[1020] = 'ER_CHECKREAD';
  105. codes[1021] = 'ER_DISK_FULL';
  106. codes[1022] = 'ER_DUP_KEY';
  107. codes[1023] = 'ER_ERROR_ON_CLOSE';
  108. codes[1024] = 'ER_ERROR_ON_READ';
  109. codes[1025] = 'ER_ERROR_ON_RENAME';
  110. codes[1026] = 'ER_ERROR_ON_WRITE';
  111. codes[1027] = 'ER_FILE_USED';
  112. codes[1028] = 'ER_FILSORT_ABORT';
  113. codes[1029] = 'ER_FORM_NOT_FOUND';
  114. codes[1030] = 'ER_GET_ERRNO';
  115. codes[1031] = 'ER_ILLEGAL_HA';
  116. codes[1032] = 'ER_KEY_NOT_FOUND';
  117. codes[1033] = 'ER_NOT_FORM_FILE';
  118. codes[1034] = 'ER_NOT_KEYFILE';
  119. codes[1035] = 'ER_OLD_KEYFILE';
  120. codes[1036] = 'ER_OPEN_AS_READONLY';
  121. codes[1037] = 'ER_OUTOFMEMORY';
  122. codes[1038] = 'ER_OUT_OF_SORTMEMORY';
  123. codes[1039] = 'ER_UNEXPECTED_EOF';
  124. codes[1040] = 'ER_CON_COUNT_ERROR';
  125. codes[1041] = 'ER_OUT_OF_RESOURCES';
  126. codes[1042] = 'ER_BAD_HOST_ERROR';
  127. codes[1043] = 'ER_HANDSHAKE_ERROR';
  128. codes[1044] = 'ER_DBACCESS_DENIED_ERROR';
  129. codes[1045] = 'ER_ACCESS_DENIED_ERROR';
  130. codes[1046] = 'ER_NO_DB_ERROR';
  131. codes[1047] = 'ER_UNKNOWN_COM_ERROR';
  132. codes[1048] = 'ER_BAD_NULL_ERROR';
  133. codes[1049] = 'ER_BAD_DB_ERROR';
  134. codes[1050] = 'ER_TABLE_EXISTS_ERROR';
  135. codes[1051] = 'ER_BAD_TABLE_ERROR';
  136. codes[1052] = 'ER_NON_UNIQ_ERROR';
  137. codes[1053] = 'ER_SERVER_SHUTDOWN';
  138. codes[1054] = 'ER_BAD_FIELD_ERROR';
  139. codes[1055] = 'ER_WRONG_FIELD_WITH_GROUP';
  140. codes[1056] = 'ER_WRONG_GROUP_FIELD';
  141. codes[1057] = 'ER_WRONG_SUM_SELECT';
  142. codes[1058] = 'ER_WRONG_VALUE_COUNT';
  143. codes[1059] = 'ER_TOO_LONG_IDENT';
  144. codes[1060] = 'ER_DUP_FIELDNAME';
  145. codes[1061] = 'ER_DUP_KEYNAME';
  146. codes[1062] = 'ER_DUP_ENTRY';
  147. codes[1063] = 'ER_WRONG_FIELD_SPEC';
  148. codes[1064] = 'ER_PARSE_ERROR';
  149. codes[1065] = 'ER_EMPTY_QUERY';
  150. codes[1066] = 'ER_NONUNIQ_TABLE';
  151. codes[1067] = 'ER_INVALID_DEFAULT';
  152. codes[1068] = 'ER_MULTIPLE_PRI_KEY';
  153. codes[1069] = 'ER_TOO_MANY_KEYS';
  154. codes[1070] = 'ER_TOO_MANY_KEY_PARTS';
  155. codes[1071] = 'ER_TOO_LONG_KEY';
  156. codes[1072] = 'ER_KEY_COLUMN_DOES_NOT_EXITS';
  157. codes[1073] = 'ER_BLOB_USED_AS_KEY';
  158. codes[1074] = 'ER_TOO_BIG_FIELDLENGTH';
  159. codes[1075] = 'ER_WRONG_AUTO_KEY';
  160. codes[1076] = 'ER_BINLOG_CANT_DELETE_GTID_DOMAIN';
  161. codes[1077] = 'ER_NORMAL_SHUTDOWN';
  162. codes[1078] = 'ER_GOT_SIGNAL';
  163. codes[1079] = 'ER_SHUTDOWN_COMPLETE';
  164. codes[1080] = 'ER_FORCING_CLOSE';
  165. codes[1081] = 'ER_IPSOCK_ERROR';
  166. codes[1082] = 'ER_NO_SUCH_INDEX';
  167. codes[1083] = 'ER_WRONG_FIELD_TERMINATORS';
  168. codes[1084] = 'ER_BLOBS_AND_NO_TERMINATED';
  169. codes[1085] = 'ER_TEXTFILE_NOT_READABLE';
  170. codes[1086] = 'ER_FILE_EXISTS_ERROR';
  171. codes[1087] = 'ER_LOAD_INFO';
  172. codes[1088] = 'ER_ALTER_INFO';
  173. codes[1089] = 'ER_WRONG_SUB_KEY';
  174. codes[1090] = 'ER_CANT_REMOVE_ALL_FIELDS';
  175. codes[1091] = 'ER_CANT_DROP_FIELD_OR_KEY';
  176. codes[1092] = 'ER_INSERT_INFO';
  177. codes[1093] = 'ER_UPDATE_TABLE_USED';
  178. codes[1094] = 'ER_NO_SUCH_THREAD';
  179. codes[1095] = 'ER_KILL_DENIED_ERROR';
  180. codes[1096] = 'ER_NO_TABLES_USED';
  181. codes[1097] = 'ER_TOO_BIG_SET';
  182. codes[1098] = 'ER_NO_UNIQUE_LOGFILE';
  183. codes[1099] = 'ER_TABLE_NOT_LOCKED_FOR_WRITE';
  184. codes[1100] = 'ER_TABLE_NOT_LOCKED';
  185. codes[1101] = 'ER_UNUSED_17';
  186. codes[1102] = 'ER_WRONG_DB_NAME';
  187. codes[1103] = 'ER_WRONG_TABLE_NAME';
  188. codes[1104] = 'ER_TOO_BIG_SELECT';
  189. codes[1105] = 'ER_UNKNOWN_ERROR';
  190. codes[1106] = 'ER_UNKNOWN_PROCEDURE';
  191. codes[1107] = 'ER_WRONG_PARAMCOUNT_TO_PROCEDURE';
  192. codes[1108] = 'ER_WRONG_PARAMETERS_TO_PROCEDURE';
  193. codes[1109] = 'ER_UNKNOWN_TABLE';
  194. codes[1110] = 'ER_FIELD_SPECIFIED_TWICE';
  195. codes[1111] = 'ER_INVALID_GROUP_FUNC_USE';
  196. codes[1112] = 'ER_UNSUPPORTED_EXTENSION';
  197. codes[1113] = 'ER_TABLE_MUST_HAVE_COLUMNS';
  198. codes[1114] = 'ER_RECORD_FILE_FULL';
  199. codes[1115] = 'ER_UNKNOWN_CHARACTER_SET';
  200. codes[1116] = 'ER_TOO_MANY_TABLES';
  201. codes[1117] = 'ER_TOO_MANY_FIELDS';
  202. codes[1118] = 'ER_TOO_BIG_ROWSIZE';
  203. codes[1119] = 'ER_STACK_OVERRUN';
  204. codes[1120] = 'ER_WRONG_OUTER_JOIN';
  205. codes[1121] = 'ER_NULL_COLUMN_IN_INDEX';
  206. codes[1122] = 'ER_CANT_FIND_UDF';
  207. codes[1123] = 'ER_CANT_INITIALIZE_UDF';
  208. codes[1124] = 'ER_UDF_NO_PATHS';
  209. codes[1125] = 'ER_UDF_EXISTS';
  210. codes[1126] = 'ER_CANT_OPEN_LIBRARY';
  211. codes[1127] = 'ER_CANT_FIND_DL_ENTRY';
  212. codes[1128] = 'ER_FUNCTION_NOT_DEFINED';
  213. codes[1129] = 'ER_HOST_IS_BLOCKED';
  214. codes[1130] = 'ER_HOST_NOT_PRIVILEGED';
  215. codes[1131] = 'ER_PASSWORD_ANONYMOUS_USER';
  216. codes[1132] = 'ER_PASSWORD_NOT_ALLOWED';
  217. codes[1133] = 'ER_PASSWORD_NO_MATCH';
  218. codes[1134] = 'ER_UPDATE_INFO';
  219. codes[1135] = 'ER_CANT_CREATE_THREAD';
  220. codes[1136] = 'ER_WRONG_VALUE_COUNT_ON_ROW';
  221. codes[1137] = 'ER_CANT_REOPEN_TABLE';
  222. codes[1138] = 'ER_INVALID_USE_OF_NULL';
  223. codes[1139] = 'ER_REGEXP_ERROR';
  224. codes[1140] = 'ER_MIX_OF_GROUP_FUNC_AND_FIELDS';
  225. codes[1141] = 'ER_NONEXISTING_GRANT';
  226. codes[1142] = 'ER_TABLEACCESS_DENIED_ERROR';
  227. codes[1143] = 'ER_COLUMNACCESS_DENIED_ERROR';
  228. codes[1144] = 'ER_ILLEGAL_GRANT_FOR_TABLE';
  229. codes[1145] = 'ER_GRANT_WRONG_HOST_OR_USER';
  230. codes[1146] = 'ER_NO_SUCH_TABLE';
  231. codes[1147] = 'ER_NONEXISTING_TABLE_GRANT';
  232. codes[1148] = 'ER_NOT_ALLOWED_COMMAND';
  233. codes[1149] = 'ER_SYNTAX_ERROR';
  234. codes[1150] = 'ER_DELAYED_CANT_CHANGE_LOCK';
  235. codes[1151] = 'ER_TOO_MANY_DELAYED_THREADS';
  236. codes[1152] = 'ER_ABORTING_CONNECTION';
  237. codes[1153] = 'ER_NET_PACKET_TOO_LARGE';
  238. codes[1154] = 'ER_NET_READ_ERROR_FROM_PIPE';
  239. codes[1155] = 'ER_NET_FCNTL_ERROR';
  240. codes[1156] = 'ER_NET_PACKETS_OUT_OF_ORDER';
  241. codes[1157] = 'ER_NET_UNCOMPRESS_ERROR';
  242. codes[1158] = 'ER_NET_READ_ERROR';
  243. codes[1159] = 'ER_NET_READ_INTERRUPTED';
  244. codes[1160] = 'ER_NET_ERROR_ON_WRITE';
  245. codes[1161] = 'ER_NET_WRITE_INTERRUPTED';
  246. codes[1162] = 'ER_TOO_LONG_STRING';
  247. codes[1163] = 'ER_TABLE_CANT_HANDLE_BLOB';
  248. codes[1164] = 'ER_TABLE_CANT_HANDLE_AUTO_INCREMENT';
  249. codes[1165] = 'ER_DELAYED_INSERT_TABLE_LOCKED';
  250. codes[1166] = 'ER_WRONG_COLUMN_NAME';
  251. codes[1167] = 'ER_WRONG_KEY_COLUMN';
  252. codes[1168] = 'ER_WRONG_MRG_TABLE';
  253. codes[1169] = 'ER_DUP_UNIQUE';
  254. codes[1170] = 'ER_BLOB_KEY_WITHOUT_LENGTH';
  255. codes[1171] = 'ER_PRIMARY_CANT_HAVE_NULL';
  256. codes[1172] = 'ER_TOO_MANY_ROWS';
  257. codes[1173] = 'ER_REQUIRES_PRIMARY_KEY';
  258. codes[1174] = 'ER_NO_RAID_COMPILED';
  259. codes[1175] = 'ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE';
  260. codes[1176] = 'ER_KEY_DOES_NOT_EXITS';
  261. codes[1177] = 'ER_CHECK_NO_SUCH_TABLE';
  262. codes[1178] = 'ER_CHECK_NOT_IMPLEMENTED';
  263. codes[1179] = 'ER_CANT_DO_THIS_DURING_AN_TRANSACTION';
  264. codes[1180] = 'ER_ERROR_DURING_COMMIT';
  265. codes[1181] = 'ER_ERROR_DURING_ROLLBACK';
  266. codes[1182] = 'ER_ERROR_DURING_FLUSH_LOGS';
  267. codes[1183] = 'ER_ERROR_DURING_CHECKPOINT';
  268. codes[1184] = 'ER_NEW_ABORTING_CONNECTION';
  269. codes[1185] = 'ER_UNUSED_10';
  270. codes[1186] = 'ER_FLUSH_MASTER_BINLOG_CLOSED';
  271. codes[1187] = 'ER_INDEX_REBUILD';
  272. codes[1188] = 'ER_MASTER';
  273. codes[1189] = 'ER_MASTER_NET_READ';
  274. codes[1190] = 'ER_MASTER_NET_WRITE';
  275. codes[1191] = 'ER_FT_MATCHING_KEY_NOT_FOUND';
  276. codes[1192] = 'ER_LOCK_OR_ACTIVE_TRANSACTION';
  277. codes[1193] = 'ER_UNKNOWN_SYSTEM_VARIABLE';
  278. codes[1194] = 'ER_CRASHED_ON_USAGE';
  279. codes[1195] = 'ER_CRASHED_ON_REPAIR';
  280. codes[1196] = 'ER_WARNING_NOT_COMPLETE_ROLLBACK';
  281. codes[1197] = 'ER_TRANS_CACHE_FULL';
  282. codes[1198] = 'ER_SLAVE_MUST_STOP';
  283. codes[1199] = 'ER_SLAVE_NOT_RUNNING';
  284. codes[1200] = 'ER_BAD_SLAVE';
  285. codes[1201] = 'ER_MASTER_INFO';
  286. codes[1202] = 'ER_SLAVE_THREAD';
  287. codes[1203] = 'ER_TOO_MANY_USER_CONNECTIONS';
  288. codes[1204] = 'ER_SET_CONSTANTS_ONLY';
  289. codes[1205] = 'ER_LOCK_WAIT_TIMEOUT';
  290. codes[1206] = 'ER_LOCK_TABLE_FULL';
  291. codes[1207] = 'ER_READ_ONLY_TRANSACTION';
  292. codes[1208] = 'ER_DROP_DB_WITH_READ_LOCK';
  293. codes[1209] = 'ER_CREATE_DB_WITH_READ_LOCK';
  294. codes[1210] = 'ER_WRONG_ARGUMENTS';
  295. codes[1211] = 'ER_NO_PERMISSION_TO_CREATE_USER';
  296. codes[1212] = 'ER_UNION_TABLES_IN_DIFFERENT_DIR';
  297. codes[1213] = 'ER_LOCK_DEADLOCK';
  298. codes[1214] = 'ER_TABLE_CANT_HANDLE_FT';
  299. codes[1215] = 'ER_CANNOT_ADD_FOREIGN';
  300. codes[1216] = 'ER_NO_REFERENCED_ROW';
  301. codes[1217] = 'ER_ROW_IS_REFERENCED';
  302. codes[1218] = 'ER_CONNECT_TO_MASTER';
  303. codes[1219] = 'ER_QUERY_ON_MASTER';
  304. codes[1220] = 'ER_ERROR_WHEN_EXECUTING_COMMAND';
  305. codes[1221] = 'ER_WRONG_USAGE';
  306. codes[1222] = 'ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT';
  307. codes[1223] = 'ER_CANT_UPDATE_WITH_READLOCK';
  308. codes[1224] = 'ER_MIXING_NOT_ALLOWED';
  309. codes[1225] = 'ER_DUP_ARGUMENT';
  310. codes[1226] = 'ER_USER_LIMIT_REACHED';
  311. codes[1227] = 'ER_SPECIFIC_ACCESS_DENIED_ERROR';
  312. codes[1228] = 'ER_LOCAL_VARIABLE';
  313. codes[1229] = 'ER_GLOBAL_VARIABLE';
  314. codes[1230] = 'ER_NO_DEFAULT';
  315. codes[1231] = 'ER_WRONG_VALUE_FOR_VAR';
  316. codes[1232] = 'ER_WRONG_TYPE_FOR_VAR';
  317. codes[1233] = 'ER_VAR_CANT_BE_READ';
  318. codes[1234] = 'ER_CANT_USE_OPTION_HERE';
  319. codes[1235] = 'ER_NOT_SUPPORTED_YET';
  320. codes[1236] = 'ER_MASTER_FATAL_ERROR_READING_BINLOG';
  321. codes[1237] = 'ER_SLAVE_IGNORED_TABLE';
  322. codes[1238] = 'ER_INCORRECT_GLOBAL_LOCAL_VAR';
  323. codes[1239] = 'ER_WRONG_FK_DEF';
  324. codes[1240] = 'ER_KEY_REF_DO_NOT_MATCH_TABLE_REF';
  325. codes[1241] = 'ER_OPERAND_COLUMNS';
  326. codes[1242] = 'ER_SUBQUERY_NO_1_ROW';
  327. codes[1243] = 'ER_UNKNOWN_STMT_HANDLER';
  328. codes[1244] = 'ER_CORRUPT_HELP_DB';
  329. codes[1245] = 'ER_CYCLIC_REFERENCE';
  330. codes[1246] = 'ER_AUTO_CONVERT';
  331. codes[1247] = 'ER_ILLEGAL_REFERENCE';
  332. codes[1248] = 'ER_DERIVED_MUST_HAVE_ALIAS';
  333. codes[1249] = 'ER_SELECT_REDUCED';
  334. codes[1250] = 'ER_TABLENAME_NOT_ALLOWED_HERE';
  335. codes[1251] = 'ER_NOT_SUPPORTED_AUTH_MODE';
  336. codes[1252] = 'ER_SPATIAL_CANT_HAVE_NULL';
  337. codes[1253] = 'ER_COLLATION_CHARSET_MISMATCH';
  338. codes[1254] = 'ER_SLAVE_WAS_RUNNING';
  339. codes[1255] = 'ER_SLAVE_WAS_NOT_RUNNING';
  340. codes[1256] = 'ER_TOO_BIG_FOR_UNCOMPRESS';
  341. codes[1257] = 'ER_ZLIB_Z_MEM_ERROR';
  342. codes[1258] = 'ER_ZLIB_Z_BUF_ERROR';
  343. codes[1259] = 'ER_ZLIB_Z_DATA_ERROR';
  344. codes[1260] = 'ER_CUT_VALUE_GROUP_CONCAT';
  345. codes[1261] = 'ER_WARN_TOO_FEW_RECORDS';
  346. codes[1262] = 'ER_WARN_TOO_MANY_RECORDS';
  347. codes[1263] = 'ER_WARN_NULL_TO_NOTNULL';
  348. codes[1264] = 'ER_WARN_DATA_OUT_OF_RANGE';
  349. codes[1265] = 'WARN_DATA_TRUNCATED';
  350. codes[1266] = 'ER_WARN_USING_OTHER_HANDLER';
  351. codes[1267] = 'ER_CANT_AGGREGATE_2COLLATIONS';
  352. codes[1268] = 'ER_DROP_USER';
  353. codes[1269] = 'ER_REVOKE_GRANTS';
  354. codes[1270] = 'ER_CANT_AGGREGATE_3COLLATIONS';
  355. codes[1271] = 'ER_CANT_AGGREGATE_NCOLLATIONS';
  356. codes[1272] = 'ER_VARIABLE_IS_NOT_STRUCT';
  357. codes[1273] = 'ER_UNKNOWN_COLLATION';
  358. codes[1274] = 'ER_SLAVE_IGNORED_SSL_PARAMS';
  359. codes[1275] = 'ER_SERVER_IS_IN_SECURE_AUTH_MODE';
  360. codes[1276] = 'ER_WARN_FIELD_RESOLVED';
  361. codes[1277] = 'ER_BAD_SLAVE_UNTIL_COND';
  362. codes[1278] = 'ER_MISSING_SKIP_SLAVE';
  363. codes[1279] = 'ER_UNTIL_COND_IGNORED';
  364. codes[1280] = 'ER_WRONG_NAME_FOR_INDEX';
  365. codes[1281] = 'ER_WRONG_NAME_FOR_CATALOG';
  366. codes[1282] = 'ER_WARN_QC_RESIZE';
  367. codes[1283] = 'ER_BAD_FT_COLUMN';
  368. codes[1284] = 'ER_UNKNOWN_KEY_CACHE';
  369. codes[1285] = 'ER_WARN_HOSTNAME_WONT_WORK';
  370. codes[1286] = 'ER_UNKNOWN_STORAGE_ENGINE';
  371. codes[1287] = 'ER_WARN_DEPRECATED_SYNTAX';
  372. codes[1288] = 'ER_NON_UPDATABLE_TABLE';
  373. codes[1289] = 'ER_FEATURE_DISABLED';
  374. codes[1290] = 'ER_OPTION_PREVENTS_STATEMENT';
  375. codes[1291] = 'ER_DUPLICATED_VALUE_IN_TYPE';
  376. codes[1292] = 'ER_TRUNCATED_WRONG_VALUE';
  377. codes[1293] = 'ER_TOO_MUCH_AUTO_TIMESTAMP_COLS';
  378. codes[1294] = 'ER_INVALID_ON_UPDATE';
  379. codes[1295] = 'ER_UNSUPPORTED_PS';
  380. codes[1296] = 'ER_GET_ERRMSG';
  381. codes[1297] = 'ER_GET_TEMPORARY_ERRMSG';
  382. codes[1298] = 'ER_UNKNOWN_TIME_ZONE';
  383. codes[1299] = 'ER_WARN_INVALID_TIMESTAMP';
  384. codes[1300] = 'ER_INVALID_CHARACTER_STRING';
  385. codes[1301] = 'ER_WARN_ALLOWED_PACKET_OVERFLOWED';
  386. codes[1302] = 'ER_CONFLICTING_DECLARATIONS';
  387. codes[1303] = 'ER_SP_NO_RECURSIVE_CREATE';
  388. codes[1304] = 'ER_SP_ALREADY_EXISTS';
  389. codes[1305] = 'ER_SP_DOES_NOT_EXIST';
  390. codes[1306] = 'ER_SP_DROP_FAILED';
  391. codes[1307] = 'ER_SP_STORE_FAILED';
  392. codes[1308] = 'ER_SP_LILABEL_MISMATCH';
  393. codes[1309] = 'ER_SP_LABEL_REDEFINE';
  394. codes[1310] = 'ER_SP_LABEL_MISMATCH';
  395. codes[1311] = 'ER_SP_UNINIT_VAR';
  396. codes[1312] = 'ER_SP_BADSELECT';
  397. codes[1313] = 'ER_SP_BADRETURN';
  398. codes[1314] = 'ER_SP_BADSTATEMENT';
  399. codes[1315] = 'ER_UPDATE_LOG_DEPRECATED_IGNORED';
  400. codes[1316] = 'ER_UPDATE_LOG_DEPRECATED_TRANSLATED';
  401. codes[1317] = 'ER_QUERY_INTERRUPTED';
  402. codes[1318] = 'ER_SP_WRONG_NO_OF_ARGS';
  403. codes[1319] = 'ER_SP_COND_MISMATCH';
  404. codes[1320] = 'ER_SP_NORETURN';
  405. codes[1321] = 'ER_SP_NORETURNEND';
  406. codes[1322] = 'ER_SP_BAD_CURSOR_QUERY';
  407. codes[1323] = 'ER_SP_BAD_CURSOR_SELECT';
  408. codes[1324] = 'ER_SP_CURSOR_MISMATCH';
  409. codes[1325] = 'ER_SP_CURSOR_ALREADY_OPEN';
  410. codes[1326] = 'ER_SP_CURSOR_NOT_OPEN';
  411. codes[1327] = 'ER_SP_UNDECLARED_VAR';
  412. codes[1328] = 'ER_SP_WRONG_NO_OF_FETCH_ARGS';
  413. codes[1329] = 'ER_SP_FETCH_NO_DATA';
  414. codes[1330] = 'ER_SP_DUP_PARAM';
  415. codes[1331] = 'ER_SP_DUP_VAR';
  416. codes[1332] = 'ER_SP_DUP_COND';
  417. codes[1333] = 'ER_SP_DUP_CURS';
  418. codes[1334] = 'ER_SP_CANT_ALTER';
  419. codes[1335] = 'ER_SP_SUBSELECT_NYI';
  420. codes[1336] = 'ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG';
  421. codes[1337] = 'ER_SP_VARCOND_AFTER_CURSHNDLR';
  422. codes[1338] = 'ER_SP_CURSOR_AFTER_HANDLER';
  423. codes[1339] = 'ER_SP_CASE_NOT_FOUND';
  424. codes[1340] = 'ER_FPARSER_TOO_BIG_FILE';
  425. codes[1341] = 'ER_FPARSER_BAD_HEADER';
  426. codes[1342] = 'ER_FPARSER_EOF_IN_COMMENT';
  427. codes[1343] = 'ER_FPARSER_ERROR_IN_PARAMETER';
  428. codes[1344] = 'ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER';
  429. codes[1345] = 'ER_VIEW_NO_EXPLAIN';
  430. codes[1346] = 'ER_FRM_UNKNOWN_TYPE';
  431. codes[1347] = 'ER_WRONG_OBJECT';
  432. codes[1348] = 'ER_NONUPDATEABLE_COLUMN';
  433. codes[1349] = 'ER_VIEW_SELECT_DERIVED';
  434. codes[1350] = 'ER_VIEW_SELECT_CLAUSE';
  435. codes[1351] = 'ER_VIEW_SELECT_VARIABLE';
  436. codes[1352] = 'ER_VIEW_SELECT_TMPTABLE';
  437. codes[1353] = 'ER_VIEW_WRONG_LIST';
  438. codes[1354] = 'ER_WARN_VIEW_MERGE';
  439. codes[1355] = 'ER_WARN_VIEW_WITHOUT_KEY';
  440. codes[1356] = 'ER_VIEW_INVALID';
  441. codes[1357] = 'ER_SP_NO_DROP_SP';
  442. codes[1358] = 'ER_SP_GOTO_IN_HNDLR';
  443. codes[1359] = 'ER_TRG_ALREADY_EXISTS';
  444. codes[1360] = 'ER_TRG_DOES_NOT_EXIST';
  445. codes[1361] = 'ER_TRG_ON_VIEW_OR_TEMP_TABLE';
  446. codes[1362] = 'ER_TRG_CANT_CHANGE_ROW';
  447. codes[1363] = 'ER_TRG_NO_SUCH_ROW_IN_TRG';
  448. codes[1364] = 'ER_NO_DEFAULT_FOR_FIELD';
  449. codes[1365] = 'ER_DIVISION_BY_ZERO';
  450. codes[1366] = 'ER_TRUNCATED_WRONG_VALUE_FOR_FIELD';
  451. codes[1367] = 'ER_ILLEGAL_VALUE_FOR_TYPE';
  452. codes[1368] = 'ER_VIEW_NONUPD_CHECK';
  453. codes[1369] = 'ER_VIEW_CHECK_FAILED';
  454. codes[1370] = 'ER_PROCACCESS_DENIED_ERROR';
  455. codes[1371] = 'ER_RELAY_LOG_FAIL';
  456. codes[1372] = 'ER_PASSWD_LENGTH';
  457. codes[1373] = 'ER_UNKNOWN_TARGET_BINLOG';
  458. codes[1374] = 'ER_IO_ERR_LOG_INDEX_READ';
  459. codes[1375] = 'ER_BINLOG_PURGE_PROHIBITED';
  460. codes[1376] = 'ER_FSEEK_FAIL';
  461. codes[1377] = 'ER_BINLOG_PURGE_FATAL_ERR';
  462. codes[1378] = 'ER_LOG_IN_USE';
  463. codes[1379] = 'ER_LOG_PURGE_UNKNOWN_ERR';
  464. codes[1380] = 'ER_RELAY_LOG_INIT';
  465. codes[1381] = 'ER_NO_BINARY_LOGGING';
  466. codes[1382] = 'ER_RESERVED_SYNTAX';
  467. codes[1383] = 'ER_WSAS_FAILED';
  468. codes[1384] = 'ER_DIFF_GROUPS_PROC';
  469. codes[1385] = 'ER_NO_GROUP_FOR_PROC';
  470. codes[1386] = 'ER_ORDER_WITH_PROC';
  471. codes[1387] = 'ER_LOGGING_PROHIBIT_CHANGING_OF';
  472. codes[1388] = 'ER_NO_FILE_MAPPING';
  473. codes[1389] = 'ER_WRONG_MAGIC';
  474. codes[1390] = 'ER_PS_MANY_PARAM';
  475. codes[1391] = 'ER_KEY_PART_0';
  476. codes[1392] = 'ER_VIEW_CHECKSUM';
  477. codes[1393] = 'ER_VIEW_MULTIUPDATE';
  478. codes[1394] = 'ER_VIEW_NO_INSERT_FIELD_LIST';
  479. codes[1395] = 'ER_VIEW_DELETE_MERGE_VIEW';
  480. codes[1396] = 'ER_CANNOT_USER';
  481. codes[1397] = 'ER_XAER_NOTA';
  482. codes[1398] = 'ER_XAER_INVAL';
  483. codes[1399] = 'ER_XAER_RMFAIL';
  484. codes[1400] = 'ER_XAER_OUTSIDE';
  485. codes[1401] = 'ER_XAER_RMERR';
  486. codes[1402] = 'ER_XA_RBROLLBACK';
  487. codes[1403] = 'ER_NONEXISTING_PROC_GRANT';
  488. codes[1404] = 'ER_PROC_AUTO_GRANT_FAIL';
  489. codes[1405] = 'ER_PROC_AUTO_REVOKE_FAIL';
  490. codes[1406] = 'ER_DATA_TOO_LONG';
  491. codes[1407] = 'ER_SP_BAD_SQLSTATE';
  492. codes[1408] = 'ER_STARTUP';
  493. codes[1409] = 'ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR';
  494. codes[1410] = 'ER_CANT_CREATE_USER_WITH_GRANT';
  495. codes[1411] = 'ER_WRONG_VALUE_FOR_TYPE';
  496. codes[1412] = 'ER_TABLE_DEF_CHANGED';
  497. codes[1413] = 'ER_SP_DUP_HANDLER';
  498. codes[1414] = 'ER_SP_NOT_VAR_ARG';
  499. codes[1415] = 'ER_SP_NO_RETSET';
  500. codes[1416] = 'ER_CANT_CREATE_GEOMETRY_OBJECT';
  501. codes[1417] = 'ER_FAILED_ROUTINE_BREAK_BINLOG';
  502. codes[1418] = 'ER_BINLOG_UNSAFE_ROUTINE';
  503. codes[1419] = 'ER_BINLOG_CREATE_ROUTINE_NEED_SUPER';
  504. codes[1420] = 'ER_EXEC_STMT_WITH_OPEN_CURSOR';
  505. codes[1421] = 'ER_STMT_HAS_NO_OPEN_CURSOR';
  506. codes[1422] = 'ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG';
  507. codes[1423] = 'ER_NO_DEFAULT_FOR_VIEW_FIELD';
  508. codes[1424] = 'ER_SP_NO_RECURSION';
  509. codes[1425] = 'ER_TOO_BIG_SCALE';
  510. codes[1426] = 'ER_TOO_BIG_PRECISION';
  511. codes[1427] = 'ER_M_BIGGER_THAN_D';
  512. codes[1428] = 'ER_WRONG_LOCK_OF_SYSTEM_TABLE';
  513. codes[1429] = 'ER_CONNECT_TO_FOREIGN_DATA_SOURCE';
  514. codes[1430] = 'ER_QUERY_ON_FOREIGN_DATA_SOURCE';
  515. codes[1431] = 'ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST';
  516. codes[1432] = 'ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE';
  517. codes[1433] = 'ER_FOREIGN_DATA_STRING_INVALID';
  518. codes[1434] = 'ER_CANT_CREATE_FEDERATED_TABLE';
  519. codes[1435] = 'ER_TRG_IN_WRONG_SCHEMA';
  520. codes[1436] = 'ER_STACK_OVERRUN_NEED_MORE';
  521. codes[1437] = 'ER_TOO_LONG_BODY';
  522. codes[1438] = 'ER_WARN_CANT_DROP_DEFAULT_KEYCACHE';
  523. codes[1439] = 'ER_TOO_BIG_DISPLAYWIDTH';
  524. codes[1440] = 'ER_XAER_DUPID';
  525. codes[1441] = 'ER_DATETIME_FUNCTION_OVERFLOW';
  526. codes[1442] = 'ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG';
  527. codes[1443] = 'ER_VIEW_PREVENT_UPDATE';
  528. codes[1444] = 'ER_PS_NO_RECURSION';
  529. codes[1445] = 'ER_SP_CANT_SET_AUTOCOMMIT';
  530. codes[1446] = 'ER_MALFORMED_DEFINER';
  531. codes[1447] = 'ER_VIEW_FRM_NO_USER';
  532. codes[1448] = 'ER_VIEW_OTHER_USER';
  533. codes[1449] = 'ER_NO_SUCH_USER';
  534. codes[1450] = 'ER_FORBID_SCHEMA_CHANGE';
  535. codes[1451] = 'ER_ROW_IS_REFERENCED_2';
  536. codes[1452] = 'ER_NO_REFERENCED_ROW_2';
  537. codes[1453] = 'ER_SP_BAD_VAR_SHADOW';
  538. codes[1454] = 'ER_TRG_NO_DEFINER';
  539. codes[1455] = 'ER_OLD_FILE_FORMAT';
  540. codes[1456] = 'ER_SP_RECURSION_LIMIT';
  541. codes[1457] = 'ER_SP_PROC_TABLE_CORRUPT';
  542. codes[1458] = 'ER_SP_WRONG_NAME';
  543. codes[1459] = 'ER_TABLE_NEEDS_UPGRADE';
  544. codes[1460] = 'ER_SP_NO_AGGREGATE';
  545. codes[1461] = 'ER_MAX_PREPARED_STMT_COUNT_REACHED';
  546. codes[1462] = 'ER_VIEW_RECURSIVE';
  547. codes[1463] = 'ER_NON_GROUPING_FIELD_USED';
  548. codes[1464] = 'ER_TABLE_CANT_HANDLE_SPKEYS';
  549. codes[1465] = 'ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA';
  550. codes[1466] = 'ER_REMOVED_SPACES';
  551. codes[1467] = 'ER_AUTOINC_READ_FAILED';
  552. codes[1468] = 'ER_USERNAME';
  553. codes[1469] = 'ER_HOSTNAME';
  554. codes[1470] = 'ER_WRONG_STRING_LENGTH';
  555. codes[1471] = 'ER_NON_INSERTABLE_TABLE';
  556. codes[1472] = 'ER_ADMIN_WRONG_MRG_TABLE';
  557. codes[1473] = 'ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT';
  558. codes[1474] = 'ER_NAME_BECOMES_EMPTY';
  559. codes[1475] = 'ER_AMBIGUOUS_FIELD_TERM';
  560. codes[1476] = 'ER_FOREIGN_SERVER_EXISTS';
  561. codes[1477] = 'ER_FOREIGN_SERVER_DOESNT_EXIST';
  562. codes[1478] = 'ER_ILLEGAL_HA_CREATE_OPTION';
  563. codes[1479] = 'ER_PARTITION_REQUIRES_VALUES_ERROR';
  564. codes[1480] = 'ER_PARTITION_WRONG_VALUES_ERROR';
  565. codes[1481] = 'ER_PARTITION_MAXVALUE_ERROR';
  566. codes[1482] = 'ER_PARTITION_SUBPARTITION_ERROR';
  567. codes[1483] = 'ER_PARTITION_SUBPART_MIX_ERROR';
  568. codes[1484] = 'ER_PARTITION_WRONG_NO_PART_ERROR';
  569. codes[1485] = 'ER_PARTITION_WRONG_NO_SUBPART_ERROR';
  570. codes[1486] = 'ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR';
  571. codes[1487] = 'ER_NOT_CONSTANT_EXPRESSION';
  572. codes[1488] = 'ER_FIELD_NOT_FOUND_PART_ERROR';
  573. codes[1489] = 'ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR';
  574. codes[1490] = 'ER_INCONSISTENT_PARTITION_INFO_ERROR';
  575. codes[1491] = 'ER_PARTITION_FUNC_NOT_ALLOWED_ERROR';
  576. codes[1492] = 'ER_PARTITIONS_MUST_BE_DEFINED_ERROR';
  577. codes[1493] = 'ER_RANGE_NOT_INCREASING_ERROR';
  578. codes[1494] = 'ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR';
  579. codes[1495] = 'ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR';
  580. codes[1496] = 'ER_PARTITION_ENTRY_ERROR';
  581. codes[1497] = 'ER_MIX_HANDLER_ERROR';
  582. codes[1498] = 'ER_PARTITION_NOT_DEFINED_ERROR';
  583. codes[1499] = 'ER_TOO_MANY_PARTITIONS_ERROR';
  584. codes[1500] = 'ER_SUBPARTITION_ERROR';
  585. codes[1501] = 'ER_CANT_CREATE_HANDLER_FILE';
  586. codes[1502] = 'ER_BLOB_FIELD_IN_PART_FUNC_ERROR';
  587. codes[1503] = 'ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF';
  588. codes[1504] = 'ER_NO_PARTS_ERROR';
  589. codes[1505] = 'ER_PARTITION_MGMT_ON_NONPARTITIONED';
  590. codes[1506] = 'ER_FOREIGN_KEY_ON_PARTITIONED';
  591. codes[1507] = 'ER_DROP_PARTITION_NON_EXISTENT';
  592. codes[1508] = 'ER_DROP_LAST_PARTITION';
  593. codes[1509] = 'ER_COALESCE_ONLY_ON_HASH_PARTITION';
  594. codes[1510] = 'ER_REORG_HASH_ONLY_ON_SAME_NO';
  595. codes[1511] = 'ER_REORG_NO_PARAM_ERROR';
  596. codes[1512] = 'ER_ONLY_ON_RANGE_LIST_PARTITION';
  597. codes[1513] = 'ER_ADD_PARTITION_SUBPART_ERROR';
  598. codes[1514] = 'ER_ADD_PARTITION_NO_NEW_PARTITION';
  599. codes[1515] = 'ER_COALESCE_PARTITION_NO_PARTITION';
  600. codes[1516] = 'ER_REORG_PARTITION_NOT_EXIST';
  601. codes[1517] = 'ER_SAME_NAME_PARTITION';
  602. codes[1518] = 'ER_NO_BINLOG_ERROR';
  603. codes[1519] = 'ER_CONSECUTIVE_REORG_PARTITIONS';
  604. codes[1520] = 'ER_REORG_OUTSIDE_RANGE';
  605. codes[1521] = 'ER_PARTITION_FUNCTION_FAILURE';
  606. codes[1522] = 'ER_PART_STATE_ERROR';
  607. codes[1523] = 'ER_LIMITED_PART_RANGE';
  608. codes[1524] = 'ER_PLUGIN_IS_NOT_LOADED';
  609. codes[1525] = 'ER_WRONG_VALUE';
  610. codes[1526] = 'ER_NO_PARTITION_FOR_GIVEN_VALUE';
  611. codes[1527] = 'ER_FILEGROUP_OPTION_ONLY_ONCE';
  612. codes[1528] = 'ER_CREATE_FILEGROUP_FAILED';
  613. codes[1529] = 'ER_DROP_FILEGROUP_FAILED';
  614. codes[1530] = 'ER_TABLESPACE_AUTO_EXTEND_ERROR';
  615. codes[1531] = 'ER_WRONG_SIZE_NUMBER';
  616. codes[1532] = 'ER_SIZE_OVERFLOW_ERROR';
  617. codes[1533] = 'ER_ALTER_FILEGROUP_FAILED';
  618. codes[1534] = 'ER_BINLOG_ROW_LOGGING_FAILED';
  619. codes[1535] = 'ER_BINLOG_ROW_WRONG_TABLE_DEF';
  620. codes[1536] = 'ER_BINLOG_ROW_RBR_TO_SBR';
  621. codes[1537] = 'ER_EVENT_ALREADY_EXISTS';
  622. codes[1538] = 'ER_EVENT_STORE_FAILED';
  623. codes[1539] = 'ER_EVENT_DOES_NOT_EXIST';
  624. codes[1540] = 'ER_EVENT_CANT_ALTER';
  625. codes[1541] = 'ER_EVENT_DROP_FAILED';
  626. codes[1542] = 'ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG';
  627. codes[1543] = 'ER_EVENT_ENDS_BEFORE_STARTS';
  628. codes[1544] = 'ER_EVENT_EXEC_TIME_IN_THE_PAST';
  629. codes[1545] = 'ER_EVENT_OPEN_TABLE_FAILED';
  630. codes[1546] = 'ER_EVENT_NEITHER_M_EXPR_NOR_M_AT';
  631. codes[1547] = 'ER_UNUSED_2';
  632. codes[1548] = 'ER_UNUSED_3';
  633. codes[1549] = 'ER_EVENT_CANNOT_DELETE';
  634. codes[1550] = 'ER_EVENT_COMPILE_ERROR';
  635. codes[1551] = 'ER_EVENT_SAME_NAME';
  636. codes[1552] = 'ER_EVENT_DATA_TOO_LONG';
  637. codes[1553] = 'ER_DROP_INDEX_FK';
  638. codes[1554] = 'ER_WARN_DEPRECATED_SYNTAX_WITH_VER';
  639. codes[1555] = 'ER_CANT_WRITE_LOCK_LOG_TABLE';
  640. codes[1556] = 'ER_CANT_LOCK_LOG_TABLE';
  641. codes[1557] = 'ER_UNUSED_4';
  642. codes[1558] = 'ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE';
  643. codes[1559] = 'ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR';
  644. codes[1560] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT';
  645. codes[1561] = 'ER_UNUSED_13';
  646. codes[1562] = 'ER_PARTITION_NO_TEMPORARY';
  647. codes[1563] = 'ER_PARTITION_CONST_DOMAIN_ERROR';
  648. codes[1564] = 'ER_PARTITION_FUNCTION_IS_NOT_ALLOWED';
  649. codes[1565] = 'ER_DDL_LOG_ERROR';
  650. codes[1566] = 'ER_NULL_IN_VALUES_LESS_THAN';
  651. codes[1567] = 'ER_WRONG_PARTITION_NAME';
  652. codes[1568] = 'ER_CANT_CHANGE_TX_CHARACTERISTICS';
  653. codes[1569] = 'ER_DUP_ENTRY_AUTOINCREMENT_CASE';
  654. codes[1570] = 'ER_EVENT_MODIFY_QUEUE_ERROR';
  655. codes[1571] = 'ER_EVENT_SET_VAR_ERROR';
  656. codes[1572] = 'ER_PARTITION_MERGE_ERROR';
  657. codes[1573] = 'ER_CANT_ACTIVATE_LOG';
  658. codes[1574] = 'ER_RBR_NOT_AVAILABLE';
  659. codes[1575] = 'ER_BASE64_DECODE_ERROR';
  660. codes[1576] = 'ER_EVENT_RECURSION_FORBIDDEN';
  661. codes[1577] = 'ER_EVENTS_DB_ERROR';
  662. codes[1578] = 'ER_ONLY_INTEGERS_ALLOWED';
  663. codes[1579] = 'ER_UNSUPORTED_LOG_ENGINE';
  664. codes[1580] = 'ER_BAD_LOG_STATEMENT';
  665. codes[1581] = 'ER_CANT_RENAME_LOG_TABLE';
  666. codes[1582] = 'ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT';
  667. codes[1583] = 'ER_WRONG_PARAMETERS_TO_NATIVE_FCT';
  668. codes[1584] = 'ER_WRONG_PARAMETERS_TO_STORED_FCT';
  669. codes[1585] = 'ER_NATIVE_FCT_NAME_COLLISION';
  670. codes[1586] = 'ER_DUP_ENTRY_WITH_KEY_NAME';
  671. codes[1587] = 'ER_BINLOG_PURGE_EMFILE';
  672. codes[1588] = 'ER_EVENT_CANNOT_CREATE_IN_THE_PAST';
  673. codes[1589] = 'ER_EVENT_CANNOT_ALTER_IN_THE_PAST';
  674. codes[1590] = 'ER_SLAVE_INCIDENT';
  675. codes[1591] = 'ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT';
  676. codes[1592] = 'ER_BINLOG_UNSAFE_STATEMENT';
  677. codes[1593] = 'ER_SLAVE_FATAL_ERROR';
  678. codes[1594] = 'ER_SLAVE_RELAY_LOG_READ_FAILURE';
  679. codes[1595] = 'ER_SLAVE_RELAY_LOG_WRITE_FAILURE';
  680. codes[1596] = 'ER_SLAVE_CREATE_EVENT_FAILURE';
  681. codes[1597] = 'ER_SLAVE_MASTER_COM_FAILURE';
  682. codes[1598] = 'ER_BINLOG_LOGGING_IMPOSSIBLE';
  683. codes[1599] = 'ER_VIEW_NO_CREATION_CTX';
  684. codes[1600] = 'ER_VIEW_INVALID_CREATION_CTX';
  685. codes[1601] = 'ER_SR_INVALID_CREATION_CTX';
  686. codes[1602] = 'ER_TRG_CORRUPTED_FILE';
  687. codes[1603] = 'ER_TRG_NO_CREATION_CTX';
  688. codes[1604] = 'ER_TRG_INVALID_CREATION_CTX';
  689. codes[1605] = 'ER_EVENT_INVALID_CREATION_CTX';
  690. codes[1606] = 'ER_TRG_CANT_OPEN_TABLE';
  691. codes[1607] = 'ER_CANT_CREATE_SROUTINE';
  692. codes[1608] = 'ER_UNUSED_11';
  693. codes[1609] = 'ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT';
  694. codes[1610] = 'ER_SLAVE_CORRUPT_EVENT';
  695. codes[1611] = 'ER_LOAD_DATA_INVALID_COLUMN';
  696. codes[1612] = 'ER_LOG_PURGE_NO_FILE';
  697. codes[1613] = 'ER_XA_RBTIMEOUT';
  698. codes[1614] = 'ER_XA_RBDEADLOCK';
  699. codes[1615] = 'ER_NEED_REPREPARE';
  700. codes[1616] = 'ER_DELAYED_NOT_SUPPORTED';
  701. codes[1617] = 'WARN_NO_MASTER_INFO';
  702. codes[1618] = 'WARN_OPTION_IGNORED';
  703. codes[1619] = 'ER_PLUGIN_DELETE_BUILTIN';
  704. codes[1620] = 'WARN_PLUGIN_BUSY';
  705. codes[1621] = 'ER_VARIABLE_IS_READONLY';
  706. codes[1622] = 'ER_WARN_ENGINE_TRANSACTION_ROLLBACK';
  707. codes[1623] = 'ER_SLAVE_HEARTBEAT_FAILURE';
  708. codes[1624] = 'ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE';
  709. codes[1625] = 'ER_UNUSED_14';
  710. codes[1626] = 'ER_CONFLICT_FN_PARSE_ERROR';
  711. codes[1627] = 'ER_EXCEPTIONS_WRITE_ERROR';
  712. codes[1628] = 'ER_TOO_LONG_TABLE_COMMENT';
  713. codes[1629] = 'ER_TOO_LONG_FIELD_COMMENT';
  714. codes[1630] = 'ER_FUNC_INEXISTENT_NAME_COLLISION';
  715. codes[1631] = 'ER_DATABASE_NAME';
  716. codes[1632] = 'ER_TABLE_NAME';
  717. codes[1633] = 'ER_PARTITION_NAME';
  718. codes[1634] = 'ER_SUBPARTITION_NAME';
  719. codes[1635] = 'ER_TEMPORARY_NAME';
  720. codes[1636] = 'ER_RENAMED_NAME';
  721. codes[1637] = 'ER_TOO_MANY_CONCURRENT_TRXS';
  722. codes[1638] = 'WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED';
  723. codes[1639] = 'ER_DEBUG_SYNC_TIMEOUT';
  724. codes[1640] = 'ER_DEBUG_SYNC_HIT_LIMIT';
  725. codes[1641] = 'ER_DUP_SIGNAL_SET';
  726. codes[1642] = 'ER_SIGNAL_WARN';
  727. codes[1643] = 'ER_SIGNAL_NOT_FOUND';
  728. codes[1644] = 'ER_SIGNAL_EXCEPTION';
  729. codes[1645] = 'ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER';
  730. codes[1646] = 'ER_SIGNAL_BAD_CONDITION_TYPE';
  731. codes[1647] = 'WARN_COND_ITEM_TRUNCATED';
  732. codes[1648] = 'ER_COND_ITEM_TOO_LONG';
  733. codes[1649] = 'ER_UNKNOWN_LOCALE';
  734. codes[1650] = 'ER_SLAVE_IGNORE_SERVER_IDS';
  735. codes[1651] = 'ER_QUERY_CACHE_DISABLED';
  736. codes[1652] = 'ER_SAME_NAME_PARTITION_FIELD';
  737. codes[1653] = 'ER_PARTITION_COLUMN_LIST_ERROR';
  738. codes[1654] = 'ER_WRONG_TYPE_COLUMN_VALUE_ERROR';
  739. codes[1655] = 'ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR';
  740. codes[1656] = 'ER_MAXVALUE_IN_VALUES_IN';
  741. codes[1657] = 'ER_TOO_MANY_VALUES_ERROR';
  742. codes[1658] = 'ER_ROW_SINGLE_PARTITION_FIELD_ERROR';
  743. codes[1659] = 'ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD';
  744. codes[1660] = 'ER_PARTITION_FIELDS_TOO_LONG';
  745. codes[1661] = 'ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE';
  746. codes[1662] = 'ER_BINLOG_ROW_MODE_AND_STMT_ENGINE';
  747. codes[1663] = 'ER_BINLOG_UNSAFE_AND_STMT_ENGINE';
  748. codes[1664] = 'ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE';
  749. codes[1665] = 'ER_BINLOG_STMT_MODE_AND_ROW_ENGINE';
  750. codes[1666] = 'ER_BINLOG_ROW_INJECTION_AND_STMT_MODE';
  751. codes[1667] = 'ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE';
  752. codes[1668] = 'ER_BINLOG_UNSAFE_LIMIT';
  753. codes[1669] = 'ER_BINLOG_UNSAFE_INSERT_DELAYED';
  754. codes[1670] = 'ER_BINLOG_UNSAFE_SYSTEM_TABLE';
  755. codes[1671] = 'ER_BINLOG_UNSAFE_AUTOINC_COLUMNS';
  756. codes[1672] = 'ER_BINLOG_UNSAFE_UDF';
  757. codes[1673] = 'ER_BINLOG_UNSAFE_SYSTEM_VARIABLE';
  758. codes[1674] = 'ER_BINLOG_UNSAFE_SYSTEM_FUNCTION';
  759. codes[1675] = 'ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS';
  760. codes[1676] = 'ER_MESSAGE_AND_STATEMENT';
  761. codes[1677] = 'ER_SLAVE_CONVERSION_FAILED';
  762. codes[1678] = 'ER_SLAVE_CANT_CREATE_CONVERSION';
  763. codes[1679] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT';
  764. codes[1680] = 'ER_PATH_LENGTH';
  765. codes[1681] = 'ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT';
  766. codes[1682] = 'ER_WRONG_NATIVE_TABLE_STRUCTURE';
  767. codes[1683] = 'ER_WRONG_PERFSCHEMA_USAGE';
  768. codes[1684] = 'ER_WARN_I_S_SKIPPED_TABLE';
  769. codes[1685] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT';
  770. codes[1686] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT';
  771. codes[1687] = 'ER_SPATIAL_MUST_HAVE_GEOM_COL';
  772. codes[1688] = 'ER_TOO_LONG_INDEX_COMMENT';
  773. codes[1689] = 'ER_LOCK_ABORTED';
  774. codes[1690] = 'ER_DATA_OUT_OF_RANGE';
  775. codes[1691] = 'ER_WRONG_SPVAR_TYPE_IN_LIMIT';
  776. codes[1692] = 'ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE';
  777. codes[1693] = 'ER_BINLOG_UNSAFE_MIXED_STATEMENT';
  778. codes[1694] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN';
  779. codes[1695] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN';
  780. codes[1696] = 'ER_FAILED_READ_FROM_PAR_FILE';
  781. codes[1697] = 'ER_VALUES_IS_NOT_INT_TYPE_ERROR';
  782. codes[1698] = 'ER_ACCESS_DENIED_NO_PASSWORD_ERROR';
  783. codes[1699] = 'ER_SET_PASSWORD_AUTH_PLUGIN';
  784. codes[1700] = 'ER_GRANT_PLUGIN_USER_EXISTS';
  785. codes[1701] = 'ER_TRUNCATE_ILLEGAL_FK';
  786. codes[1702] = 'ER_PLUGIN_IS_PERMANENT';
  787. codes[1703] = 'ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN';
  788. codes[1704] = 'ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX';
  789. codes[1705] = 'ER_STMT_CACHE_FULL';
  790. codes[1706] = 'ER_MULTI_UPDATE_KEY_CONFLICT';
  791. codes[1707] = 'ER_TABLE_NEEDS_REBUILD';
  792. codes[1708] = 'WARN_OPTION_BELOW_LIMIT';
  793. codes[1709] = 'ER_INDEX_COLUMN_TOO_LONG';
  794. codes[1710] = 'ER_ERROR_IN_TRIGGER_BODY';
  795. codes[1711] = 'ER_ERROR_IN_UNKNOWN_TRIGGER_BODY';
  796. codes[1712] = 'ER_INDEX_CORRUPT';
  797. codes[1713] = 'ER_UNDO_RECORD_TOO_BIG';
  798. codes[1714] = 'ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT';
  799. codes[1715] = 'ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE';
  800. codes[1716] = 'ER_BINLOG_UNSAFE_REPLACE_SELECT';
  801. codes[1717] = 'ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT';
  802. codes[1718] = 'ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT';
  803. codes[1719] = 'ER_BINLOG_UNSAFE_UPDATE_IGNORE';
  804. codes[1720] = 'ER_UNUSED_15';
  805. codes[1721] = 'ER_UNUSED_16';
  806. codes[1722] = 'ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT';
  807. codes[1723] = 'ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC';
  808. codes[1724] = 'ER_BINLOG_UNSAFE_INSERT_TWO_KEYS';
  809. codes[1725] = 'ER_TABLE_IN_FK_CHECK';
  810. codes[1726] = 'ER_UNUSED_1';
  811. codes[1727] = 'ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST';
  812. codes[1728] = 'ER_CANNOT_LOAD_FROM_TABLE_V2';
  813. codes[1729] = 'ER_MASTER_DELAY_VALUE_OUT_OF_RANGE';
  814. codes[1730] = 'ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT';
  815. codes[1731] = 'ER_PARTITION_EXCHANGE_DIFFERENT_OPTION';
  816. codes[1732] = 'ER_PARTITION_EXCHANGE_PART_TABLE';
  817. codes[1733] = 'ER_PARTITION_EXCHANGE_TEMP_TABLE';
  818. codes[1734] = 'ER_PARTITION_INSTEAD_OF_SUBPARTITION';
  819. codes[1735] = 'ER_UNKNOWN_PARTITION';
  820. codes[1736] = 'ER_TABLES_DIFFERENT_METADATA';
  821. codes[1737] = 'ER_ROW_DOES_NOT_MATCH_PARTITION';
  822. codes[1738] = 'ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX';
  823. codes[1739] = 'ER_WARN_INDEX_NOT_APPLICABLE';
  824. codes[1740] = 'ER_PARTITION_EXCHANGE_FOREIGN_KEY';
  825. codes[1741] = 'ER_NO_SUCH_KEY_VALUE';
  826. codes[1742] = 'ER_VALUE_TOO_LONG';
  827. codes[1743] = 'ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE';
  828. codes[1744] = 'ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE';
  829. codes[1745] = 'ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX';
  830. codes[1746] = 'ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT';
  831. codes[1747] = 'ER_PARTITION_CLAUSE_ON_NONPARTITIONED';
  832. codes[1748] = 'ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET';
  833. codes[1749] = 'ER_UNUSED_5';
  834. codes[1750] = 'ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE';
  835. codes[1751] = 'ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE';
  836. codes[1752] = 'ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE';
  837. codes[1753] = 'ER_MTS_FEATURE_IS_NOT_SUPPORTED';
  838. codes[1754] = 'ER_MTS_UPDATED_DBS_GREATER_MAX';
  839. codes[1755] = 'ER_MTS_CANT_PARALLEL';
  840. codes[1756] = 'ER_MTS_INCONSISTENT_DATA';
  841. codes[1757] = 'ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING';
  842. codes[1758] = 'ER_DA_INVALID_CONDITION_NUMBER';
  843. codes[1759] = 'ER_INSECURE_PLAIN_TEXT';
  844. codes[1760] = 'ER_INSECURE_CHANGE_MASTER';
  845. codes[1761] = 'ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO';
  846. codes[1762] = 'ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO';
  847. codes[1763] = 'ER_SQLTHREAD_WITH_SECURE_SLAVE';
  848. codes[1764] = 'ER_TABLE_HAS_NO_FT';
  849. codes[1765] = 'ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER';
  850. codes[1766] = 'ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION';
  851. codes[1767] = 'ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST';
  852. codes[1768] = 'ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION_WHEN_GTID_NEXT_LIST_IS_NULL';
  853. codes[1769] = 'ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION';
  854. codes[1770] = 'ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL';
  855. codes[1771] = 'ER_SKIPPING_LOGGED_TRANSACTION';
  856. codes[1772] = 'ER_MALFORMED_GTID_SET_SPECIFICATION';
  857. codes[1773] = 'ER_MALFORMED_GTID_SET_ENCODING';
  858. codes[1774] = 'ER_MALFORMED_GTID_SPECIFICATION';
  859. codes[1775] = 'ER_GNO_EXHAUSTED';
  860. codes[1776] = 'ER_BAD_SLAVE_AUTO_POSITION';
  861. codes[1777] = 'ER_AUTO_POSITION_REQUIRES_GTID_MODE_ON';
  862. codes[1778] = 'ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET';
  863. codes[1779] = 'ER_GTID_MODE_2_OR_3_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON';
  864. codes[1780] = 'ER_GTID_MODE_REQUIRES_BINLOG';
  865. codes[1781] = 'ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF';
  866. codes[1782] = 'ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON';
  867. codes[1783] = 'ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF';
  868. codes[1784] = 'ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF';
  869. codes[1785] = 'ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE';
  870. codes[1786] = 'ER_GTID_UNSAFE_CREATE_SELECT';
  871. codes[1787] = 'ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION';
  872. codes[1788] = 'ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME';
  873. codes[1789] = 'ER_MASTER_HAS_PURGED_REQUIRED_GTIDS';
  874. codes[1790] = 'ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID';
  875. codes[1791] = 'ER_UNKNOWN_EXPLAIN_FORMAT';
  876. codes[1792] = 'ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION';
  877. codes[1793] = 'ER_TOO_LONG_TABLE_PARTITION_COMMENT';
  878. codes[1794] = 'ER_SLAVE_CONFIGURATION';
  879. codes[1795] = 'ER_INNODB_FT_LIMIT';
  880. codes[1796] = 'ER_INNODB_NO_FT_TEMP_TABLE';
  881. codes[1797] = 'ER_INNODB_FT_WRONG_DOCID_COLUMN';
  882. codes[1798] = 'ER_INNODB_FT_WRONG_DOCID_INDEX';
  883. codes[1799] = 'ER_INNODB_ONLINE_LOG_TOO_BIG';
  884. codes[1800] = 'ER_UNKNOWN_ALTER_ALGORITHM';
  885. codes[1801] = 'ER_UNKNOWN_ALTER_LOCK';
  886. codes[1802] = 'ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS';
  887. codes[1803] = 'ER_MTS_RECOVERY_FAILURE';
  888. codes[1804] = 'ER_MTS_RESET_WORKERS';
  889. codes[1805] = 'ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2';
  890. codes[1806] = 'ER_SLAVE_SILENT_RETRY_TRANSACTION';
  891. codes[1807] = 'ER_UNUSED_22';
  892. codes[1808] = 'ER_TABLE_SCHEMA_MISMATCH';
  893. codes[1809] = 'ER_TABLE_IN_SYSTEM_TABLESPACE';
  894. codes[1810] = 'ER_IO_READ_ERROR';
  895. codes[1811] = 'ER_IO_WRITE_ERROR';
  896. codes[1812] = 'ER_TABLESPACE_MISSING';
  897. codes[1813] = 'ER_TABLESPACE_EXISTS';
  898. codes[1814] = 'ER_TABLESPACE_DISCARDED';
  899. codes[1815] = 'ER_INTERNAL_ERROR';
  900. codes[1816] = 'ER_INNODB_IMPORT_ERROR';
  901. codes[1817] = 'ER_INNODB_INDEX_CORRUPT';
  902. codes[1818] = 'ER_INVALID_YEAR_COLUMN_LENGTH';
  903. codes[1819] = 'ER_NOT_VALID_PASSWORD';
  904. codes[1820] = 'ER_MUST_CHANGE_PASSWORD';
  905. codes[1821] = 'ER_FK_NO_INDEX_CHILD';
  906. codes[1822] = 'ER_FK_NO_INDEX_PARENT';
  907. codes[1823] = 'ER_FK_FAIL_ADD_SYSTEM';
  908. codes[1824] = 'ER_FK_CANNOT_OPEN_PARENT';
  909. codes[1825] = 'ER_FK_INCORRECT_OPTION';
  910. codes[1826] = 'ER_DUP_CONSTRAINT_NAME';
  911. codes[1827] = 'ER_PASSWORD_FORMAT';
  912. codes[1828] = 'ER_FK_COLUMN_CANNOT_DROP';
  913. codes[1829] = 'ER_FK_COLUMN_CANNOT_DROP_CHILD';
  914. codes[1830] = 'ER_FK_COLUMN_NOT_NULL';
  915. codes[1831] = 'ER_DUP_INDEX';
  916. codes[1832] = 'ER_FK_COLUMN_CANNOT_CHANGE';
  917. codes[1833] = 'ER_FK_COLUMN_CANNOT_CHANGE_CHILD';
  918. codes[1834] = 'ER_FK_CANNOT_DELETE_PARENT';
  919. codes[1835] = 'ER_MALFORMED_PACKET';
  920. codes[1836] = 'ER_READ_ONLY_MODE';
  921. codes[1837] = 'ER_GTID_NEXT_TYPE_UNDEFINED_GROUP';
  922. codes[1838] = 'ER_VARIABLE_NOT_SETTABLE_IN_SP';
  923. codes[1839] = 'ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF';
  924. codes[1840] = 'ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY';
  925. codes[1841] = 'ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY';
  926. codes[1842] = 'ER_GTID_PURGED_WAS_CHANGED';
  927. codes[1843] = 'ER_GTID_EXECUTED_WAS_CHANGED';
  928. codes[1844] = 'ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES';
  929. codes[1845] = 'ER_ALTER_OPERATION_NOT_SUPPORTED';
  930. codes[1846] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON';
  931. codes[1847] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY';
  932. codes[1848] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION';
  933. codes[1849] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME';
  934. codes[1850] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE';
  935. codes[1851] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK';
  936. codes[1852] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE';
  937. codes[1853] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK';
  938. codes[1854] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC';
  939. codes[1855] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS';
  940. codes[1856] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS';
  941. codes[1857] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS';
  942. codes[1858] = 'ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE';
  943. codes[1859] = 'ER_DUP_UNKNOWN_IN_INDEX';
  944. codes[1860] = 'ER_IDENT_CAUSES_TOO_LONG_PATH';
  945. codes[1861] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL';
  946. codes[1862] = 'ER_MUST_CHANGE_PASSWORD_LOGIN';
  947. codes[1863] = 'ER_ROW_IN_WRONG_PARTITION';
  948. codes[1864] = 'ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX';
  949. codes[1865] = 'ER_INNODB_NO_FT_USES_PARSER';
  950. codes[1866] = 'ER_BINLOG_LOGICAL_CORRUPTION';
  951. codes[1867] = 'ER_WARN_PURGE_LOG_IN_USE';
  952. codes[1868] = 'ER_WARN_PURGE_LOG_IS_ACTIVE';
  953. codes[1869] = 'ER_AUTO_INCREMENT_CONFLICT';
  954. codes[1870] = 'WARN_ON_BLOCKHOLE_IN_RBR';
  955. codes[1871] = 'ER_SLAVE_MI_INIT_REPOSITORY';
  956. codes[1872] = 'ER_SLAVE_RLI_INIT_REPOSITORY';
  957. codes[1873] = 'ER_ACCESS_DENIED_CHANGE_USER_ERROR';
  958. codes[1874] = 'ER_INNODB_READ_ONLY';
  959. codes[1875] = 'ER_STOP_SLAVE_SQL_THREAD_TIMEOUT';
  960. codes[1876] = 'ER_STOP_SLAVE_IO_THREAD_TIMEOUT';
  961. codes[1877] = 'ER_TABLE_CORRUPT';
  962. codes[1878] = 'ER_TEMP_FILE_WRITE_FAILURE';
  963. codes[1879] = 'ER_INNODB_FT_AUX_NOT_HEX_ID';
  964. codes[1880] = 'ER_LAST_MYSQL_ERROR_MESSAGE';
  965. codes[1900] = 'ER_UNUSED_18';
  966. codes[1901] = 'ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED';
  967. codes[1902] = 'ER_UNUSED_19';
  968. codes[1903] = 'ER_PRIMARY_KEY_BASED_ON_GENERATED_COLUMN';
  969. codes[1904] = 'ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN';
  970. codes[1905] = 'ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN';
  971. codes[1906] = 'ER_WARNING_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN';
  972. codes[1907] = 'ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN';
  973. codes[1908] = 'ER_UNUSED_20';
  974. codes[1909] = 'ER_UNUSED_21';
  975. codes[1910] = 'ER_UNSUPPORTED_ENGINE_FOR_GENERATED_COLUMNS';
  976. codes[1911] = 'ER_UNKNOWN_OPTION';
  977. codes[1912] = 'ER_BAD_OPTION_VALUE';
  978. codes[1913] = 'ER_UNUSED_6';
  979. codes[1914] = 'ER_UNUSED_7';
  980. codes[1915] = 'ER_UNUSED_8';
  981. codes[1916] = 'ER_DATA_OVERFLOW';
  982. codes[1917] = 'ER_DATA_TRUNCATED';
  983. codes[1918] = 'ER_BAD_DATA';
  984. codes[1919] = 'ER_DYN_COL_WRONG_FORMAT';
  985. codes[1920] = 'ER_DYN_COL_IMPLEMENTATION_LIMIT';
  986. codes[1921] = 'ER_DYN_COL_DATA';
  987. codes[1922] = 'ER_DYN_COL_WRONG_CHARSET';
  988. codes[1923] = 'ER_ILLEGAL_SUBQUERY_OPTIMIZER_SWITCHES';
  989. codes[1924] = 'ER_QUERY_CACHE_IS_DISABLED';
  990. codes[1925] = 'ER_QUERY_CACHE_IS_GLOBALY_DISABLED';
  991. codes[1926] = 'ER_VIEW_ORDERBY_IGNORED';
  992. codes[1927] = 'ER_CONNECTION_KILLED';
  993. codes[1928] = 'ER_UNUSED_12';
  994. codes[1929] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SKIP_REPLICATION';
  995. codes[1930] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_SKIP_REPLICATION';
  996. codes[1931] = 'ER_QUERY_EXCEEDED_ROWS_EXAMINED_LIMIT';
  997. codes[1932] = 'ER_NO_SUCH_TABLE_IN_ENGINE';
  998. codes[1933] = 'ER_TARGET_NOT_EXPLAINABLE';
  999. codes[1934] = 'ER_CONNECTION_ALREADY_EXISTS';
  1000. codes[1935] = 'ER_MASTER_LOG_PREFIX';
  1001. codes[1936] = 'ER_CANT_START_STOP_SLAVE';
  1002. codes[1937] = 'ER_SLAVE_STARTED';
  1003. codes[1938] = 'ER_SLAVE_STOPPED';
  1004. codes[1939] = 'ER_SQL_DISCOVER_ERROR';
  1005. codes[1940] = 'ER_FAILED_GTID_STATE_INIT';
  1006. codes[1941] = 'ER_INCORRECT_GTID_STATE';
  1007. codes[1942] = 'ER_CANNOT_UPDATE_GTID_STATE';
  1008. codes[1943] = 'ER_DUPLICATE_GTID_DOMAIN';
  1009. codes[1944] = 'ER_GTID_OPEN_TABLE_FAILED';
  1010. codes[1945] = 'ER_GTID_POSITION_NOT_FOUND_IN_BINLOG';
  1011. codes[1946] = 'ER_CANNOT_LOAD_SLAVE_GTID_STATE';
  1012. codes[1947] = 'ER_MASTER_GTID_POS_CONFLICTS_WITH_BINLOG';
  1013. codes[1948] = 'ER_MASTER_GTID_POS_MISSING_DOMAIN';
  1014. codes[1949] = 'ER_UNTIL_REQUIRES_USING_GTID';
  1015. codes[1950] = 'ER_GTID_STRICT_OUT_OF_ORDER';
  1016. codes[1951] = 'ER_GTID_START_FROM_BINLOG_HOLE';
  1017. codes[1952] = 'ER_SLAVE_UNEXPECTED_MASTER_SWITCH';
  1018. codes[1953] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_GTID_DOMAIN_ID_SEQ_NO';
  1019. codes[1954] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_GTID_DOMAIN_ID_SEQ_NO';
  1020. codes[1955] = 'ER_GTID_POSITION_NOT_FOUND_IN_BINLOG2';
  1021. codes[1956] = 'ER_BINLOG_MUST_BE_EMPTY';
  1022. codes[1957] = 'ER_NO_SUCH_QUERY';
  1023. codes[1958] = 'ER_BAD_BASE64_DATA';
  1024. codes[1959] = 'ER_INVALID_ROLE';
  1025. codes[1960] = 'ER_INVALID_CURRENT_USER';
  1026. codes[1961] = 'ER_CANNOT_GRANT_ROLE';
  1027. codes[1962] = 'ER_CANNOT_REVOKE_ROLE';
  1028. codes[1963] = 'ER_CHANGE_SLAVE_PARALLEL_THREADS_ACTIVE';
  1029. codes[1964] = 'ER_PRIOR_COMMIT_FAILED';
  1030. codes[1965] = 'ER_IT_IS_A_VIEW';
  1031. codes[1966] = 'ER_SLAVE_SKIP_NOT_IN_GTID';
  1032. codes[1967] = 'ER_TABLE_DEFINITION_TOO_BIG';
  1033. codes[1968] = 'ER_PLUGIN_INSTALLED';
  1034. codes[1969] = 'ER_STATEMENT_TIMEOUT';
  1035. codes[1970] = 'ER_SUBQUERIES_NOT_SUPPORTED';
  1036. codes[1971] = 'ER_SET_STATEMENT_NOT_SUPPORTED';
  1037. codes[1972] = 'ER_UNUSED_9';
  1038. codes[1973] = 'ER_USER_CREATE_EXISTS';
  1039. codes[1974] = 'ER_USER_DROP_EXISTS';
  1040. codes[1975] = 'ER_ROLE_CREATE_EXISTS';
  1041. codes[1976] = 'ER_ROLE_DROP_EXISTS';
  1042. codes[1977] = 'ER_CANNOT_CONVERT_CHARACTER';
  1043. codes[1978] = 'ER_INVALID_DEFAULT_VALUE_FOR_FIELD';
  1044. codes[1979] = 'ER_KILL_QUERY_DENIED_ERROR';
  1045. codes[1980] = 'ER_NO_EIS_FOR_FIELD';
  1046. codes[1981] = 'ER_WARN_AGGFUNC_DEPENDENCE';
  1047. codes[1982] = 'WARN_INNODB_PARTITION_OPTION_IGNORED';
  1048. codes[3000] = 'ER_FILE_CORRUPT';
  1049. codes[3001] = 'ER_ERROR_ON_MASTER';
  1050. codes[3002] = 'ER_INCONSISTENT_ERROR';
  1051. codes[3003] = 'ER_STORAGE_ENGINE_NOT_LOADED';
  1052. codes[3004] = 'ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER';
  1053. codes[3005] = 'ER_WARN_LEGACY_SYNTAX_CONVERTED';
  1054. codes[3006] = 'ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN';
  1055. codes[3007] = 'ER_CANNOT_DISCARD_TEMPORARY_TABLE';
  1056. codes[3008] = 'ER_FK_DEPTH_EXCEEDED';
  1057. codes[3009] = 'ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2';
  1058. codes[3010] = 'ER_WARN_TRIGGER_DOESNT_HAVE_CREATED';
  1059. codes[3011] = 'ER_REFERENCED_TRG_DOES_NOT_EXIST_MYSQL';
  1060. codes[3012] = 'ER_EXPLAIN_NOT_SUPPORTED';
  1061. codes[3013] = 'ER_INVALID_FIELD_SIZE';
  1062. codes[3014] = 'ER_MISSING_HA_CREATE_OPTION';
  1063. codes[3015] = 'ER_ENGINE_OUT_OF_MEMORY';
  1064. codes[3016] = 'ER_PASSWORD_EXPIRE_ANONYMOUS_USER';
  1065. codes[3017] = 'ER_SLAVE_SQL_THREAD_MUST_STOP';
  1066. codes[3018] = 'ER_NO_FT_MATERIALIZED_SUBQUERY';
  1067. codes[3019] = 'ER_INNODB_UNDO_LOG_FULL';
  1068. codes[3020] = 'ER_INVALID_ARGUMENT_FOR_LOGARITHM';
  1069. codes[3021] = 'ER_SLAVE_CHANNEL_IO_THREAD_MUST_STOP';
  1070. codes[3022] = 'ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO';
  1071. codes[3023] = 'ER_WARN_ONLY_MASTER_LOG_FILE_NO_POS';
  1072. codes[3024] = 'ER_QUERY_TIMEOUT';
  1073. codes[3025] = 'ER_NON_RO_SELECT_DISABLE_TIMER';
  1074. codes[3026] = 'ER_DUP_LIST_ENTRY';
  1075. codes[3027] = 'ER_SQL_MODE_NO_EFFECT';
  1076. codes[3028] = 'ER_AGGREGATE_ORDER_FOR_UNION';
  1077. codes[3029] = 'ER_AGGREGATE_ORDER_NON_AGG_QUERY';
  1078. codes[3030] = 'ER_SLAVE_WORKER_STOPPED_PREVIOUS_THD_ERROR';
  1079. codes[3031] = 'ER_DONT_SUPPORT_SLAVE_PRESERVE_COMMIT_ORDER';
  1080. codes[3032] = 'ER_SERVER_OFFLINE_MODE';
  1081. codes[3033] = 'ER_GIS_DIFFERENT_SRIDS';
  1082. codes[3034] = 'ER_GIS_UNSUPPORTED_ARGUMENT';
  1083. codes[3035] = 'ER_GIS_UNKNOWN_ERROR';
  1084. codes[3036] = 'ER_GIS_UNKNOWN_EXCEPTION';
  1085. codes[3037] = 'ER_GIS_INVALID_DATA';
  1086. codes[3038] = 'ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION';
  1087. codes[3039] = 'ER_BOOST_GEOMETRY_CENTROID_EXCEPTION';
  1088. codes[3040] = 'ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION';
  1089. codes[3041] = 'ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION';
  1090. codes[3042] = 'ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION';
  1091. codes[3043] = 'ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION';
  1092. codes[3044] = 'ER_STD_BAD_ALLOC_ERROR';
  1093. codes[3045] = 'ER_STD_DOMAIN_ERROR';
  1094. codes[3046] = 'ER_STD_LENGTH_ERROR';
  1095. codes[3047] = 'ER_STD_INVALID_ARGUMENT';
  1096. codes[3048] = 'ER_STD_OUT_OF_RANGE_ERROR';
  1097. codes[3049] = 'ER_STD_OVERFLOW_ERROR';
  1098. codes[3050] = 'ER_STD_RANGE_ERROR';
  1099. codes[3051] = 'ER_STD_UNDERFLOW_ERROR';
  1100. codes[3052] = 'ER_STD_LOGIC_ERROR';
  1101. codes[3053] = 'ER_STD_RUNTIME_ERROR';
  1102. codes[3054] = 'ER_STD_UNKNOWN_EXCEPTION';
  1103. codes[3055] = 'ER_GIS_DATA_WRONG_ENDIANESS';
  1104. codes[3056] = 'ER_CHANGE_MASTER_PASSWORD_LENGTH';
  1105. codes[3057] = 'ER_USER_LOCK_WRONG_NAME';
  1106. codes[3058] = 'ER_USER_LOCK_DEADLOCK';
  1107. codes[3059] = 'ER_REPLACE_INACCESSIBLE_ROWS';
  1108. codes[3060] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS';
  1109. codes[4000] = 'ER_COMMULTI_BADCONTEXT';
  1110. codes[4001] = 'ER_BAD_COMMAND_IN_MULTI';
  1111. codes[4002] = 'ER_WITH_COL_WRONG_LIST';
  1112. codes[4003] = 'ER_TOO_MANY_DEFINITIONS_IN_WITH_CLAUSE';
  1113. codes[4004] = 'ER_DUP_QUERY_NAME';
  1114. codes[4005] = 'ER_RECURSIVE_WITHOUT_ANCHORS';
  1115. codes[4006] = 'ER_UNACCEPTABLE_MUTUAL_RECURSION';
  1116. codes[4007] = 'ER_REF_TO_RECURSIVE_WITH_TABLE_IN_DERIVED';
  1117. codes[4008] = 'ER_NOT_STANDARD_COMPLIANT_RECURSIVE';
  1118. codes[4009] = 'ER_WRONG_WINDOW_SPEC_NAME';
  1119. codes[4010] = 'ER_DUP_WINDOW_NAME';
  1120. codes[4011] = 'ER_PARTITION_LIST_IN_REFERENCING_WINDOW_SPEC';
  1121. codes[4012] = 'ER_ORDER_LIST_IN_REFERENCING_WINDOW_SPEC';
  1122. codes[4013] = 'ER_WINDOW_FRAME_IN_REFERENCED_WINDOW_SPEC';
  1123. codes[4014] = 'ER_BAD_COMBINATION_OF_WINDOW_FRAME_BOUND_SPECS';
  1124. codes[4015] = 'ER_WRONG_PLACEMENT_OF_WINDOW_FUNCTION';
  1125. codes[4016] = 'ER_WINDOW_FUNCTION_IN_WINDOW_SPEC';
  1126. codes[4017] = 'ER_NOT_ALLOWED_WINDOW_FRAME';
  1127. codes[4018] = 'ER_NO_ORDER_LIST_IN_WINDOW_SPEC';
  1128. codes[4019] = 'ER_RANGE_FRAME_NEEDS_SIMPLE_ORDERBY';
  1129. codes[4020] = 'ER_WRONG_TYPE_FOR_ROWS_FRAME';
  1130. codes[4021] = 'ER_WRONG_TYPE_FOR_RANGE_FRAME';
  1131. codes[4022] = 'ER_FRAME_EXCLUSION_NOT_SUPPORTED';
  1132. codes[4023] = 'ER_WINDOW_FUNCTION_DONT_HAVE_FRAME';
  1133. codes[4024] = 'ER_INVALID_NTILE_ARGUMENT';
  1134. codes[4025] = 'ER_CONSTRAINT_FAILED';
  1135. codes[4026] = 'ER_EXPRESSION_IS_TOO_BIG';
  1136. codes[4027] = 'ER_ERROR_EVALUATING_EXPRESSION';
  1137. codes[4028] = 'ER_CALCULATING_DEFAULT_VALUE';
  1138. codes[4029] = 'ER_EXPRESSION_REFERS_TO_UNINIT_FIELD';
  1139. codes[4030] = 'ER_PARTITION_DEFAULT_ERROR';
  1140. codes[4031] = 'ER_REFERENCED_TRG_DOES_NOT_EXIST';
  1141. codes[4032] = 'ER_INVALID_DEFAULT_PARAM';
  1142. codes[4033] = 'ER_BINLOG_NON_SUPPORTED_BULK';
  1143. codes[4034] = 'ER_BINLOG_UNCOMPRESS_ERROR';
  1144. codes[4035] = 'ER_JSON_BAD_CHR';
  1145. codes[4036] = 'ER_JSON_NOT_JSON_CHR';
  1146. codes[4037] = 'ER_JSON_EOS';
  1147. codes[4038] = 'ER_JSON_SYNTAX';
  1148. codes[4039] = 'ER_JSON_ESCAPING';
  1149. codes[4040] = 'ER_JSON_DEPTH';
  1150. codes[4041] = 'ER_JSON_PATH_EOS';
  1151. codes[4042] = 'ER_JSON_PATH_SYNTAX';
  1152. codes[4043] = 'ER_JSON_PATH_DEPTH';
  1153. codes[4044] = 'ER_JSON_PATH_NO_WILDCARD';
  1154. codes[4045] = 'ER_JSON_PATH_ARRAY';
  1155. codes[4046] = 'ER_JSON_ONE_OR_ALL';
  1156. codes[4047] = 'ER_UNSUPPORT_COMPRESSED_TEMPORARY_TABLE';
  1157. codes[4048] = 'ER_GEOJSON_INCORRECT';
  1158. codes[4049] = 'ER_GEOJSON_TOO_FEW_POINTS';
  1159. codes[4050] = 'ER_GEOJSON_NOT_CLOSED';
  1160. codes[4051] = 'ER_JSON_PATH_EMPTY';
  1161. codes[4052] = 'ER_SLAVE_SAME_ID';
  1162. codes[4053] = 'ER_FLASHBACK_NOT_SUPPORTED';
  1163. codes[4054] = 'ER_KEYS_OUT_OF_ORDER';
  1164. codes[4055] = 'ER_OVERLAPPING_KEYS';
  1165. codes[4056] = 'ER_REQUIRE_ROW_BINLOG_FORMAT';
  1166. codes[4057] = 'ER_ISOLATION_MODE_NOT_SUPPORTED';
  1167. codes[4058] = 'ER_ON_DUPLICATE_DISABLED';
  1168. codes[4059] = 'ER_UPDATES_WITH_CONSISTENT_SNAPSHOT';
  1169. codes[4060] = 'ER_ROLLBACK_ONLY';
  1170. codes[4061] = 'ER_ROLLBACK_TO_SAVEPOINT';
  1171. codes[4062] = 'ER_ISOLATION_LEVEL_WITH_CONSISTENT_SNAPSHOT';
  1172. codes[4063] = 'ER_UNSUPPORTED_COLLATION';
  1173. codes[4064] = 'ER_METADATA_INCONSISTENCY';
  1174. codes[4065] = 'ER_CF_DIFFERENT';
  1175. codes[4066] = 'ER_RDB_TTL_DURATION_FORMAT';
  1176. codes[4067] = 'ER_RDB_STATUS_GENERAL';
  1177. codes[4068] = 'ER_RDB_STATUS_MSG';
  1178. codes[4069] = 'ER_RDB_TTL_UNSUPPORTED';
  1179. codes[4070] = 'ER_RDB_TTL_COL_FORMAT';
  1180. codes[4071] = 'ER_PER_INDEX_CF_DEPRECATED';
  1181. codes[4072] = 'ER_KEY_CREATE_DURING_ALTER';
  1182. codes[4073] = 'ER_SK_POPULATE_DURING_ALTER';
  1183. codes[4074] = 'ER_SUM_FUNC_WITH_WINDOW_FUNC_AS_ARG';
  1184. codes[4075] = 'ER_NET_OK_PACKET_TOO_LARGE';
  1185. codes[4076] = 'ER_GEOJSON_EMPTY_COORDINATES';
  1186. codes[4077] = 'ER_MYROCKS_CANT_NOPAD_COLLATION';
  1187. codes[4078] = 'ER_ILLEGAL_PARAMETER_DATA_TYPES2_FOR_OPERATION';
  1188. codes[4079] = 'ER_ILLEGAL_PARAMETER_DATA_TYPE_FOR_OPERATION';
  1189. codes[4080] = 'ER_WRONG_PARAMCOUNT_TO_CURSOR';
  1190. codes[4081] = 'ER_UNKNOWN_STRUCTURED_VARIABLE';
  1191. codes[4082] = 'ER_ROW_VARIABLE_DOES_NOT_HAVE_FIELD';
  1192. codes[4083] = 'ER_END_IDENTIFIER_DOES_NOT_MATCH';
  1193. codes[4084] = 'ER_SEQUENCE_RUN_OUT';
  1194. codes[4085] = 'ER_SEQUENCE_INVALID_DATA';
  1195. codes[4086] = 'ER_SEQUENCE_INVALID_TABLE_STRUCTURE';
  1196. codes[4087] = 'ER_SEQUENCE_ACCESS_ERROR';
  1197. codes[4088] = 'ER_SEQUENCE_BINLOG_FORMAT';
  1198. codes[4089] = 'ER_NOT_SEQUENCE';
  1199. codes[4090] = 'ER_NOT_SEQUENCE2';
  1200. codes[4091] = 'ER_UNKNOWN_SEQUENCES';
  1201. codes[4092] = 'ER_UNKNOWN_VIEW';
  1202. codes[4093] = 'ER_WRONG_INSERT_INTO_SEQUENCE';
  1203. codes[4094] = 'ER_SP_STACK_TRACE';
  1204. codes[4095] = 'ER_PACKAGE_ROUTINE_IN_SPEC_NOT_DEFINED_IN_BODY';
  1205. codes[4096] = 'ER_PACKAGE_ROUTINE_FORWARD_DECLARATION_NOT_DEFINED';
  1206. codes[4097] = 'ER_COMPRESSED_COLUMN_USED_AS_KEY';
  1207. codes[4098] = 'ER_UNKNOWN_COMPRESSION_METHOD';
  1208. codes[4099] = 'ER_WRONG_NUMBER_OF_VALUES_IN_TVC';
  1209. codes[4100] = 'ER_FIELD_REFERENCE_IN_TVC';
  1210. codes[4101] = 'ER_WRONG_TYPE_FOR_PERCENTILE_FUNC';
  1211. codes[4102] = 'ER_ARGUMENT_NOT_CONSTANT';
  1212. codes[4103] = 'ER_ARGUMENT_OUT_OF_RANGE';
  1213. codes[4104] = 'ER_WRONG_TYPE_OF_ARGUMENT';
  1214. codes[4105] = 'ER_NOT_AGGREGATE_FUNCTION';
  1215. codes[4106] = 'ER_INVALID_AGGREGATE_FUNCTION';
  1216. codes[4107] = 'ER_INVALID_VALUE_TO_LIMIT';
  1217. codes[4108] = 'ER_INVISIBLE_NOT_NULL_WITHOUT_DEFAULT';
  1218. codes[4109] = 'ER_UPDATE_INFO_WITH_SYSTEM_VERSIONING';
  1219. codes[4110] = 'ER_VERS_FIELD_WRONG_TYPE';
  1220. codes[4111] = 'ER_VERS_ENGINE_UNSUPPORTED';
  1221. codes[4112] = 'ER_UNUSED_23';
  1222. codes[4113] = 'ER_PARTITION_WRONG_TYPE';
  1223. codes[4114] = 'WARN_VERS_PART_FULL';
  1224. codes[4115] = 'WARN_VERS_PARAMETERS';
  1225. codes[4116] = 'ER_VERS_DROP_PARTITION_INTERVAL';
  1226. codes[4117] = 'ER_UNUSED_25';
  1227. codes[4118] = 'WARN_VERS_PART_NON_HISTORICAL';
  1228. codes[4119] = 'ER_VERS_ALTER_NOT_ALLOWED';
  1229. codes[4120] = 'ER_VERS_ALTER_ENGINE_PROHIBITED';
  1230. codes[4121] = 'ER_VERS_RANGE_PROHIBITED';
  1231. codes[4122] = 'ER_CONFLICTING_FOR_SYSTEM_TIME';
  1232. codes[4123] = 'ER_VERS_TABLE_MUST_HAVE_COLUMNS';
  1233. codes[4124] = 'ER_VERS_NOT_VERSIONED';
  1234. codes[4125] = 'ER_MISSING';
  1235. codes[4126] = 'ER_VERS_PERIOD_COLUMNS';
  1236. codes[4127] = 'ER_PART_WRONG_VALUE';
  1237. codes[4128] = 'ER_VERS_WRONG_PARTS';
  1238. codes[4129] = 'ER_VERS_NO_TRX_ID';
  1239. codes[4130] = 'ER_VERS_ALTER_SYSTEM_FIELD';
  1240. codes[4131] = 'ER_DROP_VERSIONING_SYSTEM_TIME_PARTITION';
  1241. codes[4132] = 'ER_VERS_DB_NOT_SUPPORTED';
  1242. codes[4133] = 'ER_VERS_TRT_IS_DISABLED';
  1243. codes[4134] = 'ER_VERS_DUPLICATE_ROW_START_END';
  1244. codes[4135] = 'ER_VERS_ALREADY_VERSIONED';
  1245. codes[4136] = 'ER_UNUSED_24';
  1246. codes[4137] = 'ER_VERS_NOT_SUPPORTED';
  1247. codes[4138] = 'ER_VERS_TRX_PART_HISTORIC_ROW_NOT_SUPPORTED';
  1248. codes[4139] = 'ER_INDEX_FILE_FULL';
  1249. codes[4140] = 'ER_UPDATED_COLUMN_ONLY_ONCE';
  1250. codes[4141] = 'ER_EMPTY_ROW_IN_TVC';
  1251. codes[4142] = 'ER_VERS_QUERY_IN_PARTITION';
  1252. codes[4143] = 'ER_KEY_DOESNT_SUPPORT';
  1253. codes[4144] = 'ER_ALTER_OPERATION_TABLE_OPTIONS_NEED_REBUILD';
  1254. codes[4145] = 'ER_BACKUP_LOCK_IS_ACTIVE';
  1255. codes[4146] = 'ER_BACKUP_NOT_RUNNING';
  1256. codes[4147] = 'ER_BACKUP_WRONG_STAGE';
  1257. codes[4148] = 'ER_BACKUP_STAGE_FAILED';
  1258. codes[4149] = 'ER_BACKUP_UNKNOWN_STAGE';
  1259. codes[4150] = 'ER_USER_IS_BLOCKED';
  1260. codes[4151] = 'ER_ACCOUNT_HAS_BEEN_LOCKED';
  1261. codes[4152] = 'ER_PERIOD_TEMPORARY_NOT_ALLOWED';
  1262. codes[4153] = 'ER_PERIOD_TYPES_MISMATCH';
  1263. codes[4154] = 'ER_MORE_THAN_ONE_PERIOD';
  1264. codes[4155] = 'ER_PERIOD_FIELD_WRONG_ATTRIBUTES';
  1265. codes[4156] = 'ER_PERIOD_NOT_FOUND';
  1266. codes[4157] = 'ER_PERIOD_COLUMNS_UPDATED';
  1267. codes[4158] = 'ER_PERIOD_CONSTRAINT_DROP';
  1268. codes[4159] = 'ER_TOO_LONG_KEYPART';
  1269. codes[4160] = 'ER_TOO_LONG_DATABASE_COMMENT';
  1270. codes[4161] = 'ER_UNKNOWN_DATA_TYPE';
  1271. codes[4162] = 'ER_UNKNOWN_OPERATOR';
  1272. codes[4163] = 'ER_WARN_HISTORY_ROW_START_TIME';
  1273. codes[4164] = 'ER_PART_STARTS_BEYOND_INTERVAL';
  1274. codes[4165] = 'ER_GALERA_REPLICATION_NOT_SUPPORTED';
  1275. codes[4166] = 'ER_LOAD_INFILE_CAPABILITY_DISABLED';
  1276. codes[4167] = 'ER_NO_SECURE_TRANSPORTS_CONFIGURED';
  1277. codes[4168] = 'ER_SLAVE_IGNORED_SHARED_TABLE';
  1278. codes[4169] = 'ER_NO_AUTOINCREMENT_WITH_UNIQUE';
  1279. module.exports.codes = codes;