errcode.go 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972
  1. // Copyright 2015 PingCAP, Inc.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // See the License for the specific language governing permissions and
  12. // limitations under the License.
  13. package mysql
  14. // MySQL error code.
  15. // This value is numeric. It is not portable to other database systems.
  16. const (
  17. ErrErrorFirst = 1000
  18. ErrHashchk = 1000
  19. ErrNisamchk = 1001
  20. ErrNo = 1002
  21. ErrYes = 1003
  22. ErrCantCreateFile = 1004
  23. ErrCantCreateTable = 1005
  24. ErrCantCreateDB = 1006
  25. ErrDBCreateExists = 1007
  26. ErrDBDropExists = 1008
  27. ErrDBDropDelete = 1009
  28. ErrDBDropRmdir = 1010
  29. ErrCantDeleteFile = 1011
  30. ErrCantFindSystemRec = 1012
  31. ErrCantGetStat = 1013
  32. ErrCantGetWd = 1014
  33. ErrCantLock = 1015
  34. ErrCantOpenFile = 1016
  35. ErrFileNotFound = 1017
  36. ErrCantReadDir = 1018
  37. ErrCantSetWd = 1019
  38. ErrCheckread = 1020
  39. ErrDiskFull = 1021
  40. ErrDupKey = 1022
  41. ErrErrorOnClose = 1023
  42. ErrErrorOnRead = 1024
  43. ErrErrorOnRename = 1025
  44. ErrErrorOnWrite = 1026
  45. ErrFileUsed = 1027
  46. ErrFilsortAbort = 1028
  47. ErrFormNotFound = 1029
  48. ErrGetErrno = 1030
  49. ErrIllegalHa = 1031
  50. ErrKeyNotFound = 1032
  51. ErrNotFormFile = 1033
  52. ErrNotKeyFile = 1034
  53. ErrOldKeyFile = 1035
  54. ErrOpenAsReadonly = 1036
  55. ErrOutofMemory = 1037
  56. ErrOutOfSortMemory = 1038
  57. ErrUnexpectedEOF = 1039
  58. ErrConCount = 1040
  59. ErrOutOfResources = 1041
  60. ErrBadHost = 1042
  61. ErrHandshake = 1043
  62. ErrDBaccessDenied = 1044
  63. ErrAccessDenied = 1045
  64. ErrNoDB = 1046
  65. ErrUnknownCom = 1047
  66. ErrBadNull = 1048
  67. ErrBadDB = 1049
  68. ErrTableExists = 1050
  69. ErrBadTable = 1051
  70. ErrNonUniq = 1052
  71. ErrServerShutdown = 1053
  72. ErrBadField = 1054
  73. ErrFieldNotInGroupBy = 1055
  74. ErrWrongGroupField = 1056
  75. ErrWrongSumSelect = 1057
  76. ErrWrongValueCount = 1058
  77. ErrTooLongIdent = 1059
  78. ErrDupFieldName = 1060
  79. ErrDupKeyName = 1061
  80. ErrDupEntry = 1062
  81. ErrWrongFieldSpec = 1063
  82. ErrParse = 1064
  83. ErrEmptyQuery = 1065
  84. ErrNonuniqTable = 1066
  85. ErrInvalidDefault = 1067
  86. ErrMultiplePriKey = 1068
  87. ErrTooManyKeys = 1069
  88. ErrTooManyKeyParts = 1070
  89. ErrTooLongKey = 1071
  90. ErrKeyColumnDoesNotExits = 1072
  91. ErrBlobUsedAsKey = 1073
  92. ErrTooBigFieldlength = 1074
  93. ErrWrongAutoKey = 1075
  94. ErrReady = 1076
  95. ErrNormalShutdown = 1077
  96. ErrGotSignal = 1078
  97. ErrShutdownComplete = 1079
  98. ErrForcingClose = 1080
  99. ErrIpsock = 1081
  100. ErrNoSuchIndex = 1082
  101. ErrWrongFieldTerminators = 1083
  102. ErrBlobsAndNoTerminated = 1084
  103. ErrTextFileNotReadable = 1085
  104. ErrFileExists = 1086
  105. ErrLoadInfo = 1087
  106. ErrAlterInfo = 1088
  107. ErrWrongSubKey = 1089
  108. ErrCantRemoveAllFields = 1090
  109. ErrCantDropFieldOrKey = 1091
  110. ErrInsertInfo = 1092
  111. ErrUpdateTableUsed = 1093
  112. ErrNoSuchThread = 1094
  113. ErrKillDenied = 1095
  114. ErrNoTablesUsed = 1096
  115. ErrTooBigSet = 1097
  116. ErrNoUniqueLogFile = 1098
  117. ErrTableNotLockedForWrite = 1099
  118. ErrTableNotLocked = 1100
  119. ErrBlobCantHaveDefault = 1101
  120. ErrWrongDBName = 1102
  121. ErrWrongTableName = 1103
  122. ErrTooBigSelect = 1104
  123. ErrUnknown = 1105
  124. ErrUnknownProcedure = 1106
  125. ErrWrongParamcountToProcedure = 1107
  126. ErrWrongParametersToProcedure = 1108
  127. ErrUnknownTable = 1109
  128. ErrFieldSpecifiedTwice = 1110
  129. ErrInvalidGroupFuncUse = 1111
  130. ErrUnsupportedExtension = 1112
  131. ErrTableMustHaveColumns = 1113
  132. ErrRecordFileFull = 1114
  133. ErrUnknownCharacterSet = 1115
  134. ErrTooManyTables = 1116
  135. ErrTooManyFields = 1117
  136. ErrTooBigRowsize = 1118
  137. ErrStackOverrun = 1119
  138. ErrWrongOuterJoin = 1120
  139. ErrNullColumnInIndex = 1121
  140. ErrCantFindUdf = 1122
  141. ErrCantInitializeUdf = 1123
  142. ErrUdfNoPaths = 1124
  143. ErrUdfExists = 1125
  144. ErrCantOpenLibrary = 1126
  145. ErrCantFindDlEntry = 1127
  146. ErrFunctionNotDefined = 1128
  147. ErrHostIsBlocked = 1129
  148. ErrHostNotPrivileged = 1130
  149. ErrPasswordAnonymousUser = 1131
  150. ErrPasswordNotAllowed = 1132
  151. ErrPasswordNoMatch = 1133
  152. ErrUpdateInfo = 1134
  153. ErrCantCreateThread = 1135
  154. ErrWrongValueCountOnRow = 1136
  155. ErrCantReopenTable = 1137
  156. ErrInvalidUseOfNull = 1138
  157. ErrRegexp = 1139
  158. ErrMixOfGroupFuncAndFields = 1140
  159. ErrNonexistingGrant = 1141
  160. ErrTableaccessDenied = 1142
  161. ErrColumnaccessDenied = 1143
  162. ErrIllegalGrantForTable = 1144
  163. ErrGrantWrongHostOrUser = 1145
  164. ErrNoSuchTable = 1146
  165. ErrNonexistingTableGrant = 1147
  166. ErrNotAllowedCommand = 1148
  167. ErrSyntax = 1149
  168. ErrDelayedCantChangeLock = 1150
  169. ErrTooManyDelayedThreads = 1151
  170. ErrAbortingConnection = 1152
  171. ErrNetPacketTooLarge = 1153
  172. ErrNetReadErrorFromPipe = 1154
  173. ErrNetFcntl = 1155
  174. ErrNetPacketsOutOfOrder = 1156
  175. ErrNetUncompress = 1157
  176. ErrNetRead = 1158
  177. ErrNetReadInterrupted = 1159
  178. ErrNetErrorOnWrite = 1160
  179. ErrNetWriteInterrupted = 1161
  180. ErrTooLongString = 1162
  181. ErrTableCantHandleBlob = 1163
  182. ErrTableCantHandleAutoIncrement = 1164
  183. ErrDelayedInsertTableLocked = 1165
  184. ErrWrongColumnName = 1166
  185. ErrWrongKeyColumn = 1167
  186. ErrWrongMrgTable = 1168
  187. ErrDupUnique = 1169
  188. ErrBlobKeyWithoutLength = 1170
  189. ErrPrimaryCantHaveNull = 1171
  190. ErrTooManyRows = 1172
  191. ErrRequiresPrimaryKey = 1173
  192. ErrNoRaidCompiled = 1174
  193. ErrUpdateWithoutKeyInSafeMode = 1175
  194. ErrKeyDoesNotExist = 1176
  195. ErrCheckNoSuchTable = 1177
  196. ErrCheckNotImplemented = 1178
  197. ErrCantDoThisDuringAnTransaction = 1179
  198. ErrErrorDuringCommit = 1180
  199. ErrErrorDuringRollback = 1181
  200. ErrErrorDuringFlushLogs = 1182
  201. ErrErrorDuringCheckpoint = 1183
  202. ErrNewAbortingConnection = 1184
  203. ErrDumpNotImplemented = 1185
  204. ErrFlushMasterBinlogClosed = 1186
  205. ErrIndexRebuild = 1187
  206. ErrMaster = 1188
  207. ErrMasterNetRead = 1189
  208. ErrMasterNetWrite = 1190
  209. ErrFtMatchingKeyNotFound = 1191
  210. ErrLockOrActiveTransaction = 1192
  211. ErrUnknownSystemVariable = 1193
  212. ErrCrashedOnUsage = 1194
  213. ErrCrashedOnRepair = 1195
  214. ErrWarningNotCompleteRollback = 1196
  215. ErrTransCacheFull = 1197
  216. ErrSlaveMustStop = 1198
  217. ErrSlaveNotRunning = 1199
  218. ErrBadSlave = 1200
  219. ErrMasterInfo = 1201
  220. ErrSlaveThread = 1202
  221. ErrTooManyUserConnections = 1203
  222. ErrSetConstantsOnly = 1204
  223. ErrLockWaitTimeout = 1205
  224. ErrLockTableFull = 1206
  225. ErrReadOnlyTransaction = 1207
  226. ErrDropDBWithReadLock = 1208
  227. ErrCreateDBWithReadLock = 1209
  228. ErrWrongArguments = 1210
  229. ErrNoPermissionToCreateUser = 1211
  230. ErrUnionTablesInDifferentDir = 1212
  231. ErrLockDeadlock = 1213
  232. ErrTableCantHandleFt = 1214
  233. ErrCannotAddForeign = 1215
  234. ErrNoReferencedRow = 1216
  235. ErrRowIsReferenced = 1217
  236. ErrConnectToMaster = 1218
  237. ErrQueryOnMaster = 1219
  238. ErrErrorWhenExecutingCommand = 1220
  239. ErrWrongUsage = 1221
  240. ErrWrongNumberOfColumnsInSelect = 1222
  241. ErrCantUpdateWithReadlock = 1223
  242. ErrMixingNotAllowed = 1224
  243. ErrDupArgument = 1225
  244. ErrUserLimitReached = 1226
  245. ErrSpecificAccessDenied = 1227
  246. ErrLocalVariable = 1228
  247. ErrGlobalVariable = 1229
  248. ErrNoDefault = 1230
  249. ErrWrongValueForVar = 1231
  250. ErrWrongTypeForVar = 1232
  251. ErrVarCantBeRead = 1233
  252. ErrCantUseOptionHere = 1234
  253. ErrNotSupportedYet = 1235
  254. ErrMasterFatalErrorReadingBinlog = 1236
  255. ErrSlaveIgnoredTable = 1237
  256. ErrIncorrectGlobalLocalVar = 1238
  257. ErrWrongFkDef = 1239
  258. ErrKeyRefDoNotMatchTableRef = 1240
  259. ErrOperandColumns = 1241
  260. ErrSubqueryNo1Row = 1242
  261. ErrUnknownStmtHandler = 1243
  262. ErrCorruptHelpDB = 1244
  263. ErrCyclicReference = 1245
  264. ErrAutoConvert = 1246
  265. ErrIllegalReference = 1247
  266. ErrDerivedMustHaveAlias = 1248
  267. ErrSelectReduced = 1249
  268. ErrTablenameNotAllowedHere = 1250
  269. ErrNotSupportedAuthMode = 1251
  270. ErrSpatialCantHaveNull = 1252
  271. ErrCollationCharsetMismatch = 1253
  272. ErrSlaveWasRunning = 1254
  273. ErrSlaveWasNotRunning = 1255
  274. ErrTooBigForUncompress = 1256
  275. ErrZlibZMem = 1257
  276. ErrZlibZBuf = 1258
  277. ErrZlibZData = 1259
  278. ErrCutValueGroupConcat = 1260
  279. ErrWarnTooFewRecords = 1261
  280. ErrWarnTooManyRecords = 1262
  281. ErrWarnNullToNotnull = 1263
  282. ErrWarnDataOutOfRange = 1264
  283. WarnDataTruncated = 1265
  284. ErrWarnUsingOtherHandler = 1266
  285. ErrCantAggregate2collations = 1267
  286. ErrDropUser = 1268
  287. ErrRevokeGrants = 1269
  288. ErrCantAggregate3collations = 1270
  289. ErrCantAggregateNcollations = 1271
  290. ErrVariableIsNotStruct = 1272
  291. ErrUnknownCollation = 1273
  292. ErrSlaveIgnoredSslParams = 1274
  293. ErrServerIsInSecureAuthMode = 1275
  294. ErrWarnFieldResolved = 1276
  295. ErrBadSlaveUntilCond = 1277
  296. ErrMissingSkipSlave = 1278
  297. ErrUntilCondIgnored = 1279
  298. ErrWrongNameForIndex = 1280
  299. ErrWrongNameForCatalog = 1281
  300. ErrWarnQcResize = 1282
  301. ErrBadFtColumn = 1283
  302. ErrUnknownKeyCache = 1284
  303. ErrWarnHostnameWontWork = 1285
  304. ErrUnknownStorageEngine = 1286
  305. ErrWarnDeprecatedSyntax = 1287
  306. ErrNonUpdatableTable = 1288
  307. ErrFeatureDisabled = 1289
  308. ErrOptionPreventsStatement = 1290
  309. ErrDuplicatedValueInType = 1291
  310. ErrTruncatedWrongValue = 1292
  311. ErrTooMuchAutoTimestampCols = 1293
  312. ErrInvalidOnUpdate = 1294
  313. ErrUnsupportedPs = 1295
  314. ErrGetErrmsg = 1296
  315. ErrGetTemporaryErrmsg = 1297
  316. ErrUnknownTimeZone = 1298
  317. ErrWarnInvalidTimestamp = 1299
  318. ErrInvalidCharacterString = 1300
  319. ErrWarnAllowedPacketOverflowed = 1301
  320. ErrConflictingDeclarations = 1302
  321. ErrSpNoRecursiveCreate = 1303
  322. ErrSpAlreadyExists = 1304
  323. ErrSpDoesNotExist = 1305
  324. ErrSpDropFailed = 1306
  325. ErrSpStoreFailed = 1307
  326. ErrSpLilabelMismatch = 1308
  327. ErrSpLabelRedefine = 1309
  328. ErrSpLabelMismatch = 1310
  329. ErrSpUninitVar = 1311
  330. ErrSpBadselect = 1312
  331. ErrSpBadreturn = 1313
  332. ErrSpBadstatement = 1314
  333. ErrUpdateLogDeprecatedIgnored = 1315
  334. ErrUpdateLogDeprecatedTranslated = 1316
  335. ErrQueryInterrupted = 1317
  336. ErrSpWrongNoOfArgs = 1318
  337. ErrSpCondMismatch = 1319
  338. ErrSpNoreturn = 1320
  339. ErrSpNoreturnend = 1321
  340. ErrSpBadCursorQuery = 1322
  341. ErrSpBadCursorSelect = 1323
  342. ErrSpCursorMismatch = 1324
  343. ErrSpCursorAlreadyOpen = 1325
  344. ErrSpCursorNotOpen = 1326
  345. ErrSpUndeclaredVar = 1327
  346. ErrSpWrongNoOfFetchArgs = 1328
  347. ErrSpFetchNoData = 1329
  348. ErrSpDupParam = 1330
  349. ErrSpDupVar = 1331
  350. ErrSpDupCond = 1332
  351. ErrSpDupCurs = 1333
  352. ErrSpCantAlter = 1334
  353. ErrSpSubselectNyi = 1335
  354. ErrStmtNotAllowedInSfOrTrg = 1336
  355. ErrSpVarcondAfterCurshndlr = 1337
  356. ErrSpCursorAfterHandler = 1338
  357. ErrSpCaseNotFound = 1339
  358. ErrFparserTooBigFile = 1340
  359. ErrFparserBadHeader = 1341
  360. ErrFparserEOFInComment = 1342
  361. ErrFparserErrorInParameter = 1343
  362. ErrFparserEOFInUnknownParameter = 1344
  363. ErrViewNoExplain = 1345
  364. ErrFrmUnknownType = 1346
  365. ErrWrongObject = 1347
  366. ErrNonupdateableColumn = 1348
  367. ErrViewSelectDerived = 1349
  368. ErrViewSelectClause = 1350
  369. ErrViewSelectVariable = 1351
  370. ErrViewSelectTmptable = 1352
  371. ErrViewWrongList = 1353
  372. ErrWarnViewMerge = 1354
  373. ErrWarnViewWithoutKey = 1355
  374. ErrViewInvalid = 1356
  375. ErrSpNoDropSp = 1357
  376. ErrSpGotoInHndlr = 1358
  377. ErrTrgAlreadyExists = 1359
  378. ErrTrgDoesNotExist = 1360
  379. ErrTrgOnViewOrTempTable = 1361
  380. ErrTrgCantChangeRow = 1362
  381. ErrTrgNoSuchRowInTrg = 1363
  382. ErrNoDefaultForField = 1364
  383. ErrDivisionByZero = 1365
  384. ErrTruncatedWrongValueForField = 1366
  385. ErrIllegalValueForType = 1367
  386. ErrViewNonupdCheck = 1368
  387. ErrViewCheckFailed = 1369
  388. ErrProcaccessDenied = 1370
  389. ErrRelayLogFail = 1371
  390. ErrPasswdLength = 1372
  391. ErrUnknownTargetBinlog = 1373
  392. ErrIoErrLogIndexRead = 1374
  393. ErrBinlogPurgeProhibited = 1375
  394. ErrFseekFail = 1376
  395. ErrBinlogPurgeFatalErr = 1377
  396. ErrLogInUse = 1378
  397. ErrLogPurgeUnknownErr = 1379
  398. ErrRelayLogInit = 1380
  399. ErrNoBinaryLogging = 1381
  400. ErrReservedSyntax = 1382
  401. ErrWsasFailed = 1383
  402. ErrDiffGroupsProc = 1384
  403. ErrNoGroupForProc = 1385
  404. ErrOrderWithProc = 1386
  405. ErrLoggingProhibitChangingOf = 1387
  406. ErrNoFileMapping = 1388
  407. ErrWrongMagic = 1389
  408. ErrPsManyParam = 1390
  409. ErrKeyPart0 = 1391
  410. ErrViewChecksum = 1392
  411. ErrViewMultiupdate = 1393
  412. ErrViewNoInsertFieldList = 1394
  413. ErrViewDeleteMergeView = 1395
  414. ErrCannotUser = 1396
  415. ErrXaerNota = 1397
  416. ErrXaerInval = 1398
  417. ErrXaerRmfail = 1399
  418. ErrXaerOutside = 1400
  419. ErrXaerRmerr = 1401
  420. ErrXaRbrollback = 1402
  421. ErrNonexistingProcGrant = 1403
  422. ErrProcAutoGrantFail = 1404
  423. ErrProcAutoRevokeFail = 1405
  424. ErrDataTooLong = 1406
  425. ErrSpBadSQLstate = 1407
  426. ErrStartup = 1408
  427. ErrLoadFromFixedSizeRowsToVar = 1409
  428. ErrCantCreateUserWithGrant = 1410
  429. ErrWrongValueForType = 1411
  430. ErrTableDefChanged = 1412
  431. ErrSpDupHandler = 1413
  432. ErrSpNotVarArg = 1414
  433. ErrSpNoRetset = 1415
  434. ErrCantCreateGeometryObject = 1416
  435. ErrFailedRoutineBreakBinlog = 1417
  436. ErrBinlogUnsafeRoutine = 1418
  437. ErrBinlogCreateRoutineNeedSuper = 1419
  438. ErrExecStmtWithOpenCursor = 1420
  439. ErrStmtHasNoOpenCursor = 1421
  440. ErrCommitNotAllowedInSfOrTrg = 1422
  441. ErrNoDefaultForViewField = 1423
  442. ErrSpNoRecursion = 1424
  443. ErrTooBigScale = 1425
  444. ErrTooBigPrecision = 1426
  445. ErrMBiggerThanD = 1427
  446. ErrWrongLockOfSystemTable = 1428
  447. ErrConnectToForeignDataSource = 1429
  448. ErrQueryOnForeignDataSource = 1430
  449. ErrForeignDataSourceDoesntExist = 1431
  450. ErrForeignDataStringInvalidCantCreate = 1432
  451. ErrForeignDataStringInvalid = 1433
  452. ErrCantCreateFederatedTable = 1434
  453. ErrTrgInWrongSchema = 1435
  454. ErrStackOverrunNeedMore = 1436
  455. ErrTooLongBody = 1437
  456. ErrWarnCantDropDefaultKeycache = 1438
  457. ErrTooBigDisplaywidth = 1439
  458. ErrXaerDupid = 1440
  459. ErrDatetimeFunctionOverflow = 1441
  460. ErrCantUpdateUsedTableInSfOrTrg = 1442
  461. ErrViewPreventUpdate = 1443
  462. ErrPsNoRecursion = 1444
  463. ErrSpCantSetAutocommit = 1445
  464. ErrMalformedDefiner = 1446
  465. ErrViewFrmNoUser = 1447
  466. ErrViewOtherUser = 1448
  467. ErrNoSuchUser = 1449
  468. ErrForbidSchemaChange = 1450
  469. ErrRowIsReferenced2 = 1451
  470. ErrNoReferencedRow2 = 1452
  471. ErrSpBadVarShadow = 1453
  472. ErrTrgNoDefiner = 1454
  473. ErrOldFileFormat = 1455
  474. ErrSpRecursionLimit = 1456
  475. ErrSpProcTableCorrupt = 1457
  476. ErrSpWrongName = 1458
  477. ErrTableNeedsUpgrade = 1459
  478. ErrSpNoAggregate = 1460
  479. ErrMaxPreparedStmtCountReached = 1461
  480. ErrViewRecursive = 1462
  481. ErrNonGroupingFieldUsed = 1463
  482. ErrTableCantHandleSpkeys = 1464
  483. ErrNoTriggersOnSystemSchema = 1465
  484. ErrRemovedSpaces = 1466
  485. ErrAutoincReadFailed = 1467
  486. ErrUsername = 1468
  487. ErrHostname = 1469
  488. ErrWrongStringLength = 1470
  489. ErrNonInsertableTable = 1471
  490. ErrAdminWrongMrgTable = 1472
  491. ErrTooHighLevelOfNestingForSelect = 1473
  492. ErrNameBecomesEmpty = 1474
  493. ErrAmbiguousFieldTerm = 1475
  494. ErrForeignServerExists = 1476
  495. ErrForeignServerDoesntExist = 1477
  496. ErrIllegalHaCreateOption = 1478
  497. ErrPartitionRequiresValues = 1479
  498. ErrPartitionWrongValues = 1480
  499. ErrPartitionMaxvalue = 1481
  500. ErrPartitionSubpartition = 1482
  501. ErrPartitionSubpartMix = 1483
  502. ErrPartitionWrongNoPart = 1484
  503. ErrPartitionWrongNoSubpart = 1485
  504. ErrWrongExprInPartitionFunc = 1486
  505. ErrNoConstExprInRangeOrList = 1487
  506. ErrFieldNotFoundPart = 1488
  507. ErrListOfFieldsOnlyInHash = 1489
  508. ErrInconsistentPartitionInfo = 1490
  509. ErrPartitionFuncNotAllowed = 1491
  510. ErrPartitionsMustBeDefined = 1492
  511. ErrRangeNotIncreasing = 1493
  512. ErrInconsistentTypeOfFunctions = 1494
  513. ErrMultipleDefConstInListPart = 1495
  514. ErrPartitionEntry = 1496
  515. ErrMixHandler = 1497
  516. ErrPartitionNotDefined = 1498
  517. ErrTooManyPartitions = 1499
  518. ErrSubpartition = 1500
  519. ErrCantCreateHandlerFile = 1501
  520. ErrBlobFieldInPartFunc = 1502
  521. ErrUniqueKeyNeedAllFieldsInPf = 1503
  522. ErrNoParts = 1504
  523. ErrPartitionMgmtOnNonpartitioned = 1505
  524. ErrForeignKeyOnPartitioned = 1506
  525. ErrDropPartitionNonExistent = 1507
  526. ErrDropLastPartition = 1508
  527. ErrCoalesceOnlyOnHashPartition = 1509
  528. ErrReorgHashOnlyOnSameNo = 1510
  529. ErrReorgNoParam = 1511
  530. ErrOnlyOnRangeListPartition = 1512
  531. ErrAddPartitionSubpart = 1513
  532. ErrAddPartitionNoNewPartition = 1514
  533. ErrCoalescePartitionNoPartition = 1515
  534. ErrReorgPartitionNotExist = 1516
  535. ErrSameNamePartition = 1517
  536. ErrNoBinlog = 1518
  537. ErrConsecutiveReorgPartitions = 1519
  538. ErrReorgOutsideRange = 1520
  539. ErrPartitionFunctionFailure = 1521
  540. ErrPartState = 1522
  541. ErrLimitedPartRange = 1523
  542. ErrPluginIsNotLoaded = 1524
  543. ErrWrongValue = 1525
  544. ErrNoPartitionForGivenValue = 1526
  545. ErrFilegroupOptionOnlyOnce = 1527
  546. ErrCreateFilegroupFailed = 1528
  547. ErrDropFilegroupFailed = 1529
  548. ErrTablespaceAutoExtend = 1530
  549. ErrWrongSizeNumber = 1531
  550. ErrSizeOverflow = 1532
  551. ErrAlterFilegroupFailed = 1533
  552. ErrBinlogRowLoggingFailed = 1534
  553. ErrBinlogRowWrongTableDef = 1535
  554. ErrBinlogRowRbrToSbr = 1536
  555. ErrEventAlreadyExists = 1537
  556. ErrEventStoreFailed = 1538
  557. ErrEventDoesNotExist = 1539
  558. ErrEventCantAlter = 1540
  559. ErrEventDropFailed = 1541
  560. ErrEventIntervalNotPositiveOrTooBig = 1542
  561. ErrEventEndsBeforeStarts = 1543
  562. ErrEventExecTimeInThePast = 1544
  563. ErrEventOpenTableFailed = 1545
  564. ErrEventNeitherMExprNorMAt = 1546
  565. ErrObsoleteColCountDoesntMatchCorrupted = 1547
  566. ErrObsoleteCannotLoadFromTable = 1548
  567. ErrEventCannotDelete = 1549
  568. ErrEventCompile = 1550
  569. ErrEventSameName = 1551
  570. ErrEventDataTooLong = 1552
  571. ErrDropIndexFk = 1553
  572. ErrWarnDeprecatedSyntaxWithVer = 1554
  573. ErrCantWriteLockLogTable = 1555
  574. ErrCantLockLogTable = 1556
  575. ErrForeignDuplicateKeyOldUnused = 1557
  576. ErrColCountDoesntMatchPleaseUpdate = 1558
  577. ErrTempTablePreventsSwitchOutOfRbr = 1559
  578. ErrStoredFunctionPreventsSwitchBinlogFormat = 1560
  579. ErrNdbCantSwitchBinlogFormat = 1561
  580. ErrPartitionNoTemporary = 1562
  581. ErrPartitionConstDomain = 1563
  582. ErrPartitionFunctionIsNotAllowed = 1564
  583. ErrDdlLog = 1565
  584. ErrNullInValuesLessThan = 1566
  585. ErrWrongPartitionName = 1567
  586. ErrCantChangeTxCharacteristics = 1568
  587. ErrDupEntryAutoincrementCase = 1569
  588. ErrEventModifyQueue = 1570
  589. ErrEventSetVar = 1571
  590. ErrPartitionMerge = 1572
  591. ErrCantActivateLog = 1573
  592. ErrRbrNotAvailable = 1574
  593. ErrBase64Decode = 1575
  594. ErrEventRecursionForbidden = 1576
  595. ErrEventsDB = 1577
  596. ErrOnlyIntegersAllowed = 1578
  597. ErrUnsuportedLogEngine = 1579
  598. ErrBadLogStatement = 1580
  599. ErrCantRenameLogTable = 1581
  600. ErrWrongParamcountToNativeFct = 1582
  601. ErrWrongParametersToNativeFct = 1583
  602. ErrWrongParametersToStoredFct = 1584
  603. ErrNativeFctNameCollision = 1585
  604. ErrDupEntryWithKeyName = 1586
  605. ErrBinlogPurgeEmFile = 1587
  606. ErrEventCannotCreateInThePast = 1588
  607. ErrEventCannotAlterInThePast = 1589
  608. ErrSlaveIncident = 1590
  609. ErrNoPartitionForGivenValueSilent = 1591
  610. ErrBinlogUnsafeStatement = 1592
  611. ErrSlaveFatal = 1593
  612. ErrSlaveRelayLogReadFailure = 1594
  613. ErrSlaveRelayLogWriteFailure = 1595
  614. ErrSlaveCreateEventFailure = 1596
  615. ErrSlaveMasterComFailure = 1597
  616. ErrBinlogLoggingImpossible = 1598
  617. ErrViewNoCreationCtx = 1599
  618. ErrViewInvalidCreationCtx = 1600
  619. ErrSrInvalidCreationCtx = 1601
  620. ErrTrgCorruptedFile = 1602
  621. ErrTrgNoCreationCtx = 1603
  622. ErrTrgInvalidCreationCtx = 1604
  623. ErrEventInvalidCreationCtx = 1605
  624. ErrTrgCantOpenTable = 1606
  625. ErrCantCreateSroutine = 1607
  626. ErrNeverUsed = 1608
  627. ErrNoFormatDescriptionEventBeforeBinlogStatement = 1609
  628. ErrSlaveCorruptEvent = 1610
  629. ErrLoadDataInvalidColumn = 1611
  630. ErrLogPurgeNoFile = 1612
  631. ErrXaRbtimeout = 1613
  632. ErrXaRbdeadlock = 1614
  633. ErrNeedReprepare = 1615
  634. ErrDelayedNotSupported = 1616
  635. WarnNoMasterInfo = 1617
  636. WarnOptionIgnored = 1618
  637. WarnPluginDeleteBuiltin = 1619
  638. WarnPluginBusy = 1620
  639. ErrVariableIsReadonly = 1621
  640. ErrWarnEngineTransactionRollback = 1622
  641. ErrSlaveHeartbeatFailure = 1623
  642. ErrSlaveHeartbeatValueOutOfRange = 1624
  643. ErrNdbReplicationSchema = 1625
  644. ErrConflictFnParse = 1626
  645. ErrExceptionsWrite = 1627
  646. ErrTooLongTableComment = 1628
  647. ErrTooLongFieldComment = 1629
  648. ErrFuncInexistentNameCollision = 1630
  649. ErrDatabaseName = 1631
  650. ErrTableName = 1632
  651. ErrPartitionName = 1633
  652. ErrSubpartitionName = 1634
  653. ErrTemporaryName = 1635
  654. ErrRenamedName = 1636
  655. ErrTooManyConcurrentTrxs = 1637
  656. WarnNonASCIISeparatorNotImplemented = 1638
  657. ErrDebugSyncTimeout = 1639
  658. ErrDebugSyncHitLimit = 1640
  659. ErrDupSignalSet = 1641
  660. ErrSignalWarn = 1642
  661. ErrSignalNotFound = 1643
  662. ErrSignalException = 1644
  663. ErrResignalWithoutActiveHandler = 1645
  664. ErrSignalBadConditionType = 1646
  665. WarnCondItemTruncated = 1647
  666. ErrCondItemTooLong = 1648
  667. ErrUnknownLocale = 1649
  668. ErrSlaveIgnoreServerIds = 1650
  669. ErrQueryCacheDisabled = 1651
  670. ErrSameNamePartitionField = 1652
  671. ErrPartitionColumnList = 1653
  672. ErrWrongTypeColumnValue = 1654
  673. ErrTooManyPartitionFuncFields = 1655
  674. ErrMaxvalueInValuesIn = 1656
  675. ErrTooManyValues = 1657
  676. ErrRowSinglePartitionField = 1658
  677. ErrFieldTypeNotAllowedAsPartitionField = 1659
  678. ErrPartitionFieldsTooLong = 1660
  679. ErrBinlogRowEngineAndStmtEngine = 1661
  680. ErrBinlogRowModeAndStmtEngine = 1662
  681. ErrBinlogUnsafeAndStmtEngine = 1663
  682. ErrBinlogRowInjectionAndStmtEngine = 1664
  683. ErrBinlogStmtModeAndRowEngine = 1665
  684. ErrBinlogRowInjectionAndStmtMode = 1666
  685. ErrBinlogMultipleEnginesAndSelfLoggingEngine = 1667
  686. ErrBinlogUnsafeLimit = 1668
  687. ErrBinlogUnsafeInsertDelayed = 1669
  688. ErrBinlogUnsafeSystemTable = 1670
  689. ErrBinlogUnsafeAutoincColumns = 1671
  690. ErrBinlogUnsafeUdf = 1672
  691. ErrBinlogUnsafeSystemVariable = 1673
  692. ErrBinlogUnsafeSystemFunction = 1674
  693. ErrBinlogUnsafeNontransAfterTrans = 1675
  694. ErrMessageAndStatement = 1676
  695. ErrSlaveConversionFailed = 1677
  696. ErrSlaveCantCreateConversion = 1678
  697. ErrInsideTransactionPreventsSwitchBinlogFormat = 1679
  698. ErrPathLength = 1680
  699. ErrWarnDeprecatedSyntaxNoReplacement = 1681
  700. ErrWrongNativeTableStructure = 1682
  701. ErrWrongPerfSchemaUsage = 1683
  702. ErrWarnISSkippedTable = 1684
  703. ErrInsideTransactionPreventsSwitchBinlogDirect = 1685
  704. ErrStoredFunctionPreventsSwitchBinlogDirect = 1686
  705. ErrSpatialMustHaveGeomCol = 1687
  706. ErrTooLongIndexComment = 1688
  707. ErrLockAborted = 1689
  708. ErrDataOutOfRange = 1690
  709. ErrWrongSpvarTypeInLimit = 1691
  710. ErrBinlogUnsafeMultipleEnginesAndSelfLoggingEngine = 1692
  711. ErrBinlogUnsafeMixedStatement = 1693
  712. ErrInsideTransactionPreventsSwitchSQLLogBin = 1694
  713. ErrStoredFunctionPreventsSwitchSQLLogBin = 1695
  714. ErrFailedReadFromParFile = 1696
  715. ErrValuesIsNotIntType = 1697
  716. ErrAccessDeniedNoPassword = 1698
  717. ErrSetPasswordAuthPlugin = 1699
  718. ErrGrantPluginUserExists = 1700
  719. ErrTruncateIllegalFk = 1701
  720. ErrPluginIsPermanent = 1702
  721. ErrSlaveHeartbeatValueOutOfRangeMin = 1703
  722. ErrSlaveHeartbeatValueOutOfRangeMax = 1704
  723. ErrStmtCacheFull = 1705
  724. ErrMultiUpdateKeyConflict = 1706
  725. ErrTableNeedsRebuild = 1707
  726. WarnOptionBelowLimit = 1708
  727. ErrIndexColumnTooLong = 1709
  728. ErrErrorInTriggerBody = 1710
  729. ErrErrorInUnknownTriggerBody = 1711
  730. ErrIndexCorrupt = 1712
  731. ErrUndoRecordTooBig = 1713
  732. ErrBinlogUnsafeInsertIgnoreSelect = 1714
  733. ErrBinlogUnsafeInsertSelectUpdate = 1715
  734. ErrBinlogUnsafeReplaceSelect = 1716
  735. ErrBinlogUnsafeCreateIgnoreSelect = 1717
  736. ErrBinlogUnsafeCreateReplaceSelect = 1718
  737. ErrBinlogUnsafeUpdateIgnore = 1719
  738. ErrPluginNoUninstall = 1720
  739. ErrPluginNoInstall = 1721
  740. ErrBinlogUnsafeWriteAutoincSelect = 1722
  741. ErrBinlogUnsafeCreateSelectAutoinc = 1723
  742. ErrBinlogUnsafeInsertTwoKeys = 1724
  743. ErrTableInFkCheck = 1725
  744. ErrUnsupportedEngine = 1726
  745. ErrBinlogUnsafeAutoincNotFirst = 1727
  746. ErrCannotLoadFromTableV2 = 1728
  747. ErrMasterDelayValueOutOfRange = 1729
  748. ErrOnlyFdAndRbrEventsAllowedInBinlogStatement = 1730
  749. ErrPartitionExchangeDifferentOption = 1731
  750. ErrPartitionExchangePartTable = 1732
  751. ErrPartitionExchangeTempTable = 1733
  752. ErrPartitionInsteadOfSubpartition = 1734
  753. ErrUnknownPartition = 1735
  754. ErrTablesDifferentMetadata = 1736
  755. ErrRowDoesNotMatchPartition = 1737
  756. ErrBinlogCacheSizeGreaterThanMax = 1738
  757. ErrWarnIndexNotApplicable = 1739
  758. ErrPartitionExchangeForeignKey = 1740
  759. ErrNoSuchKeyValue = 1741
  760. ErrRplInfoDataTooLong = 1742
  761. ErrNetworkReadEventChecksumFailure = 1743
  762. ErrBinlogReadEventChecksumFailure = 1744
  763. ErrBinlogStmtCacheSizeGreaterThanMax = 1745
  764. ErrCantUpdateTableInCreateTableSelect = 1746
  765. ErrPartitionClauseOnNonpartitioned = 1747
  766. ErrRowDoesNotMatchGivenPartitionSet = 1748
  767. ErrNoSuchPartitionunused = 1749
  768. ErrChangeRplInfoRepositoryFailure = 1750
  769. ErrWarningNotCompleteRollbackWithCreatedTempTable = 1751
  770. ErrWarningNotCompleteRollbackWithDroppedTempTable = 1752
  771. ErrMtsFeatureIsNotSupported = 1753
  772. ErrMtsUpdatedDBsGreaterMax = 1754
  773. ErrMtsCantParallel = 1755
  774. ErrMtsInconsistentData = 1756
  775. ErrFulltextNotSupportedWithPartitioning = 1757
  776. ErrDaInvalidConditionNumber = 1758
  777. ErrInsecurePlainText = 1759
  778. ErrInsecureChangeMaster = 1760
  779. ErrForeignDuplicateKeyWithChildInfo = 1761
  780. ErrForeignDuplicateKeyWithoutChildInfo = 1762
  781. ErrSQLthreadWithSecureSlave = 1763
  782. ErrTableHasNoFt = 1764
  783. ErrVariableNotSettableInSfOrTrigger = 1765
  784. ErrVariableNotSettableInTransaction = 1766
  785. ErrGtidNextIsNotInGtidNextList = 1767
  786. ErrCantChangeGtidNextInTransactionWhenGtidNextListIsNull = 1768
  787. ErrSetStatementCannotInvokeFunction = 1769
  788. ErrGtidNextCantBeAutomaticIfGtidNextListIsNonNull = 1770
  789. ErrSkippingLoggedTransaction = 1771
  790. ErrMalformedGtidSetSpecification = 1772
  791. ErrMalformedGtidSetEncoding = 1773
  792. ErrMalformedGtidSpecification = 1774
  793. ErrGnoExhausted = 1775
  794. ErrBadSlaveAutoPosition = 1776
  795. ErrAutoPositionRequiresGtidModeOn = 1777
  796. ErrCantDoImplicitCommitInTrxWhenGtidNextIsSet = 1778
  797. ErrGtidMode2Or3RequiresEnforceGtidConsistencyOn = 1779
  798. ErrGtidModeRequiresBinlog = 1780
  799. ErrCantSetGtidNextToGtidWhenGtidModeIsOff = 1781
  800. ErrCantSetGtidNextToAnonymousWhenGtidModeIsOn = 1782
  801. ErrCantSetGtidNextListToNonNullWhenGtidModeIsOff = 1783
  802. ErrFoundGtidEventWhenGtidModeIsOff = 1784
  803. ErrGtidUnsafeNonTransactionalTable = 1785
  804. ErrGtidUnsafeCreateSelect = 1786
  805. ErrGtidUnsafeCreateDropTemporaryTableInTransaction = 1787
  806. ErrGtidModeCanOnlyChangeOneStepAtATime = 1788
  807. ErrMasterHasPurgedRequiredGtids = 1789
  808. ErrCantSetGtidNextWhenOwningGtid = 1790
  809. ErrUnknownExplainFormat = 1791
  810. ErrCantExecuteInReadOnlyTransaction = 1792
  811. ErrTooLongTablePartitionComment = 1793
  812. ErrSlaveConfiguration = 1794
  813. ErrInnodbFtLimit = 1795
  814. ErrInnodbNoFtTempTable = 1796
  815. ErrInnodbFtWrongDocidColumn = 1797
  816. ErrInnodbFtWrongDocidIndex = 1798
  817. ErrInnodbOnlineLogTooBig = 1799
  818. ErrUnknownAlterAlgorithm = 1800
  819. ErrUnknownAlterLock = 1801
  820. ErrMtsChangeMasterCantRunWithGaps = 1802
  821. ErrMtsRecoveryFailure = 1803
  822. ErrMtsResetWorkers = 1804
  823. ErrColCountDoesntMatchCorruptedV2 = 1805
  824. ErrSlaveSilentRetryTransaction = 1806
  825. ErrDiscardFkChecksRunning = 1807
  826. ErrTableSchemaMismatch = 1808
  827. ErrTableInSystemTablespace = 1809
  828. ErrIoRead = 1810
  829. ErrIoWrite = 1811
  830. ErrTablespaceMissing = 1812
  831. ErrTablespaceExists = 1813
  832. ErrTablespaceDiscarded = 1814
  833. ErrInternal = 1815
  834. ErrInnodbImport = 1816
  835. ErrInnodbIndexCorrupt = 1817
  836. ErrInvalidYearColumnLength = 1818
  837. ErrNotValidPassword = 1819
  838. ErrMustChangePassword = 1820
  839. ErrFkNoIndexChild = 1821
  840. ErrFkNoIndexParent = 1822
  841. ErrFkFailAddSystem = 1823
  842. ErrFkCannotOpenParent = 1824
  843. ErrFkIncorrectOption = 1825
  844. ErrFkDupName = 1826
  845. ErrPasswordFormat = 1827
  846. ErrFkColumnCannotDrop = 1828
  847. ErrFkColumnCannotDropChild = 1829
  848. ErrFkColumnNotNull = 1830
  849. ErrDupIndex = 1831
  850. ErrFkColumnCannotChange = 1832
  851. ErrFkColumnCannotChangeChild = 1833
  852. ErrFkCannotDeleteParent = 1834
  853. ErrMalformedPacket = 1835
  854. ErrReadOnlyMode = 1836
  855. ErrGtidNextTypeUndefinedGroup = 1837
  856. ErrVariableNotSettableInSp = 1838
  857. ErrCantSetGtidPurgedWhenGtidModeIsOff = 1839
  858. ErrCantSetGtidPurgedWhenGtidExecutedIsNotEmpty = 1840
  859. ErrCantSetGtidPurgedWhenOwnedGtidsIsNotEmpty = 1841
  860. ErrGtidPurgedWasChanged = 1842
  861. ErrGtidExecutedWasChanged = 1843
  862. ErrBinlogStmtModeAndNoReplTables = 1844
  863. ErrAlterOperationNotSupported = 1845
  864. ErrAlterOperationNotSupportedReason = 1846
  865. ErrAlterOperationNotSupportedReasonCopy = 1847
  866. ErrAlterOperationNotSupportedReasonPartition = 1848
  867. ErrAlterOperationNotSupportedReasonFkRename = 1849
  868. ErrAlterOperationNotSupportedReasonColumnType = 1850
  869. ErrAlterOperationNotSupportedReasonFkCheck = 1851
  870. ErrAlterOperationNotSupportedReasonIgnore = 1852
  871. ErrAlterOperationNotSupportedReasonNopk = 1853
  872. ErrAlterOperationNotSupportedReasonAutoinc = 1854
  873. ErrAlterOperationNotSupportedReasonHiddenFts = 1855
  874. ErrAlterOperationNotSupportedReasonChangeFts = 1856
  875. ErrAlterOperationNotSupportedReasonFts = 1857
  876. ErrSQLSlaveSkipCounterNotSettableInGtidMode = 1858
  877. ErrDupUnknownInIndex = 1859
  878. ErrIdentCausesTooLongPath = 1860
  879. ErrAlterOperationNotSupportedReasonNotNull = 1861
  880. ErrMustChangePasswordLogin = 1862
  881. ErrRowInWrongPartition = 1863
  882. ErrErrorLast = 1863
  883. ErrMaxExecTimeExceeded = 1907
  884. ErrInvalidFieldSize = 3013
  885. ErrIncorrectType = 3064
  886. ErrInvalidJSONData = 3069
  887. ErrGeneratedColumnFunctionIsNotAllowed = 3102
  888. ErrUnsupportedAlterInplaceOnVirtualColumn = 3103
  889. ErrWrongFKOptionForGeneratedColumn = 3104
  890. ErrBadGeneratedColumn = 3105
  891. ErrUnsupportedOnGeneratedColumn = 3106
  892. ErrGeneratedColumnNonPrior = 3107
  893. ErrDependentByGeneratedColumn = 3108
  894. ErrGeneratedColumnRefAutoInc = 3109
  895. ErrInvalidJSONText = 3140
  896. ErrInvalidJSONPath = 3143
  897. ErrInvalidTypeForJSON = 3146
  898. ErrInvalidJSONPathWildcard = 3149
  899. ErrInvalidJSONContainsPathType = 3150
  900. ErrJSONUsedAsKey = 3152
  901. ErrJSONDocumentNULLKey = 3158
  902. ErrBadUser = 3162
  903. ErrUserAlreadyExists = 3163
  904. ErrInvalidJSONPathArrayCell = 3165
  905. ErrInvalidEncryptionOption = 3184
  906. ErrRoleNotGranted = 3530
  907. ErrLockAcquireFailAndNoWaitSet = 3572
  908. ErrWindowNoSuchWindow = 3579
  909. ErrWindowCircularityInWindowGraph = 3580
  910. ErrWindowNoChildPartitioning = 3581
  911. ErrWindowNoInherentFrame = 3582
  912. ErrWindowNoRedefineOrderBy = 3583
  913. ErrWindowFrameStartIllegal = 3584
  914. ErrWindowFrameEndIllegal = 3585
  915. ErrWindowFrameIllegal = 3586
  916. ErrWindowRangeFrameOrderType = 3587
  917. ErrWindowRangeFrameTemporalType = 3588
  918. ErrWindowRangeFrameNumericType = 3589
  919. ErrWindowRangeBoundNotConstant = 3590
  920. ErrWindowDuplicateName = 3591
  921. ErrWindowIllegalOrderBy = 3592
  922. ErrWindowInvalidWindowFuncUse = 3593
  923. ErrWindowInvalidWindowFuncAliasUse = 3594
  924. ErrWindowNestedWindowFuncUseInWindowSpec = 3595
  925. ErrWindowRowsIntervalUse = 3596
  926. ErrWindowNoGroupOrderUnused = 3597
  927. ErrWindowExplainJson = 3598
  928. ErrWindowFunctionIgnoresFrame = 3599
  929. ErrDataTruncatedFunctionalIndex = 3751
  930. ErrDataOutOfRangeFunctionalIndex = 3752
  931. ErrFunctionalIndexOnJsonOrGeometryFunction = 3753
  932. ErrFunctionalIndexRefAutoIncrement = 3754
  933. ErrCannotDropColumnFunctionalIndex = 3755
  934. ErrFunctionalIndexPrimaryKey = 3756
  935. ErrFunctionalIndexOnLob = 3757
  936. ErrFunctionalIndexFunctionIsNotAllowed = 3758
  937. ErrFulltextFunctionalIndex = 3759
  938. ErrSpatialFunctionalIndex = 3760
  939. ErrWrongKeyColumnFunctionalIndex = 3761
  940. ErrFunctionalIndexOnField = 3762
  941. ErrFKIncompatibleColumns = 3780
  942. ErrFunctionalIndexRowValueIsNotAllowed = 3800
  943. ErrDependentByFunctionalIndex = 3837
  944. ErrInvalidJsonValueForFuncIndex = 3903
  945. ErrJsonValueOutOfRangeForFuncIndex = 3904
  946. ErrFunctionalIndexDataIsTooLong = 3907
  947. ErrFunctionalIndexNotApplicable = 3909
  948. // MariaDB errors.
  949. ErrOnlyOneDefaultPartionAllowed = 4030
  950. ErrWrongPartitionTypeExpectedSystemTime = 4113
  951. ErrSystemVersioningWrongPartitions = 4128
  952. ErrSequenceRunOut = 4135
  953. ErrSequenceInvalidData = 4136
  954. ErrSequenceAccessFail = 4137
  955. ErrNotSequence = 4138
  956. ErrUnknownSequence = 4139
  957. ErrWrongInsertIntoSequence = 4140
  958. ErrSequenceInvalidTableStructure = 4141
  959. // TiDB self-defined errors.
  960. ErrWarnOptimizerHintUnsupportedHint = 8061
  961. ErrWarnOptimizerHintInvalidToken = 8062
  962. ErrWarnMemoryQuotaOverflow = 8063
  963. ErrWarnOptimizerHintParseError = 8064
  964. ErrWarnOptimizerHintInvalidInteger = 8065
  965. // Stop adding error code here!
  966. // They are moved to github.com/pingcap/tidb/errno
  967. )