ruby-mysql 2.9.10 → 2.9.11

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ruby-mysql might be problematic. Click here for more details.

checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7021fb12fc21daf12ea89138b4b10f9f95a68dd0
4
+ data.tar.gz: 71ab24b33c3eec96baeb7d242175a1591aa3952b
5
+ SHA512:
6
+ metadata.gz: 85760ac7c8b6357ab21baf9a38fab0ade85c654f2375a038dda0c7a8052216eb6e3d0c8ce248bca660cca712e6b82548b5cb0539382939525f17c714a27a8602
7
+ data.tar.gz: bcac0ca18511fe52460591511559cda8c242815d5fa7844a559cc0a05c3a93db6c4cde5cf93bd7ed2f7e837f303926ecb10226dbc224f100a16f0ec5e28b7758
data/lib/mysql.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # coding: ascii-8bit
1
2
  # Copyright (C) 2008-2012 TOMITA Masahiro
2
3
  # mailto:tommy@tmtm.org
3
4
 
@@ -20,7 +21,7 @@ class Mysql
20
21
  rescue LoadError
21
22
  end
22
23
 
23
- VERSION = 20910 # Version number of this library
24
+ VERSION = 20911 # Version number of this library
24
25
  MYSQL_UNIX_PORT = "/tmp/mysql.sock" # UNIX domain socket filename
25
26
  MYSQL_TCP_PORT = 3306 # TCP socket port number
26
27
 
@@ -514,7 +515,7 @@ class Mysql
514
515
  private
515
516
 
516
517
  def check_connection
517
- raise ClientError::ServerGoneError, 'The MySQL server has gone away' unless @protocol
518
+ raise ClientError::ServerGoneError, 'MySQL server has gone away' unless @protocol
518
519
  end
519
520
 
520
521
  # @!visibility public
@@ -720,7 +721,7 @@ class Mysql
720
721
  def initialize(fields, protocol=nil)
721
722
  super fields
722
723
  return unless protocol
723
- @records = protocol.retr_all_records fields.size
724
+ @records = protocol.retr_all_records fields
724
725
  fields.each{|f| f.result = self} # for calculating max_field
725
726
  end
726
727
 
data/lib/mysql/charset.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # coding: ascii-8bit
1
2
  # Copyright (C) 2008-2012 TOMITA Masahiro
2
3
  # mailto:tommy@tmtm.org
3
4
 
@@ -1,3 +1,4 @@
1
+ # coding: ascii-8bit
1
2
  # Copyright (C) 2003-2008 TOMITA Masahiro
2
3
  # mailto:tommy@tmtm.org
3
4
 
data/lib/mysql/error.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # coding: ascii-8bit
1
2
  # Copyright (C) 2003-2010 TOMITA Masahiro
2
3
  # mailto:tommy@tmtm.org
3
4
 
@@ -36,712 +37,874 @@ class Mysql
36
37
  class ServerError < Error
37
38
  ERROR_MAP = {}
38
39
 
39
- ER_HASHCHK = 1000
40
- ER_NISAMCHK = 1001
41
- ER_NO = 1002
42
- ER_YES = 1003
43
- ER_CANT_CREATE_FILE = 1004
44
- ER_CANT_CREATE_TABLE = 1005
45
- ER_CANT_CREATE_DB = 1006
46
- ER_DB_CREATE_EXISTS = 1007
47
- ER_DB_DROP_EXISTS = 1008
48
- ER_DB_DROP_DELETE = 1009
49
- ER_DB_DROP_RMDIR = 1010
50
- ER_CANT_DELETE_FILE = 1011
51
- ER_CANT_FIND_SYSTEM_REC = 1012
52
- ER_CANT_GET_STAT = 1013
53
- ER_CANT_GET_WD = 1014
54
- ER_CANT_LOCK = 1015
55
- ER_CANT_OPEN_FILE = 1016
56
- ER_FILE_NOT_FOUND = 1017
57
- ER_CANT_READ_DIR = 1018
58
- ER_CANT_SET_WD = 1019
59
- ER_CHECKREAD = 1020
60
- ER_DISK_FULL = 1021
61
- ER_DUP_KEY = 1022
62
- ER_ERROR_ON_CLOSE = 1023
63
- ER_ERROR_ON_READ = 1024
64
- ER_ERROR_ON_RENAME = 1025
65
- ER_ERROR_ON_WRITE = 1026
66
- ER_FILE_USED = 1027
67
- ER_FILSORT_ABORT = 1028
68
- ER_FORM_NOT_FOUND = 1029
69
- ER_GET_ERRNO = 1030
70
- ER_ILLEGAL_HA = 1031
71
- ER_KEY_NOT_FOUND = 1032
72
- ER_NOT_FORM_FILE = 1033
73
- ER_NOT_KEYFILE = 1034
74
- ER_OLD_KEYFILE = 1035
75
- ER_OPEN_AS_READONLY = 1036
76
- ER_OUTOFMEMORY = 1037
77
- ER_OUT_OF_SORTMEMORY = 1038
78
- ER_UNEXPECTED_EOF = 1039
79
- ER_CON_COUNT_ERROR = 1040
80
- ER_OUT_OF_RESOURCES = 1041
81
- ER_BAD_HOST_ERROR = 1042
82
- ER_HANDSHAKE_ERROR = 1043
83
- ER_DBACCESS_DENIED_ERROR = 1044
84
- ER_ACCESS_DENIED_ERROR = 1045
85
- ER_NO_DB_ERROR = 1046
86
- ER_UNKNOWN_COM_ERROR = 1047
87
- ER_BAD_NULL_ERROR = 1048
88
- ER_BAD_DB_ERROR = 1049
89
- ER_TABLE_EXISTS_ERROR = 1050
90
- ER_BAD_TABLE_ERROR = 1051
91
- ER_NON_UNIQ_ERROR = 1052
92
- ER_SERVER_SHUTDOWN = 1053
93
- ER_BAD_FIELD_ERROR = 1054
94
- ER_WRONG_FIELD_WITH_GROUP = 1055
95
- ER_WRONG_GROUP_FIELD = 1056
96
- ER_WRONG_SUM_SELECT = 1057
97
- ER_WRONG_VALUE_COUNT = 1058
98
- ER_TOO_LONG_IDENT = 1059
99
- ER_DUP_FIELDNAME = 1060
100
- ER_DUP_KEYNAME = 1061
101
- ER_DUP_ENTRY = 1062
102
- ER_WRONG_FIELD_SPEC = 1063
103
- ER_PARSE_ERROR = 1064
104
- ER_EMPTY_QUERY = 1065
105
- ER_NONUNIQ_TABLE = 1066
106
- ER_INVALID_DEFAULT = 1067
107
- ER_MULTIPLE_PRI_KEY = 1068
108
- ER_TOO_MANY_KEYS = 1069
109
- ER_TOO_MANY_KEY_PARTS = 1070
110
- ER_TOO_LONG_KEY = 1071
111
- ER_KEY_COLUMN_DOES_NOT_EXITS = 1072
112
- ER_BLOB_USED_AS_KEY = 1073
113
- ER_TOO_BIG_FIELDLENGTH = 1074
114
- ER_WRONG_AUTO_KEY = 1075
115
- ER_READY = 1076
116
- ER_NORMAL_SHUTDOWN = 1077
117
- ER_GOT_SIGNAL = 1078
118
- ER_SHUTDOWN_COMPLETE = 1079
119
- ER_FORCING_CLOSE = 1080
120
- ER_IPSOCK_ERROR = 1081
121
- ER_NO_SUCH_INDEX = 1082
122
- ER_WRONG_FIELD_TERMINATORS = 1083
123
- ER_BLOBS_AND_NO_TERMINATED = 1084
124
- ER_TEXTFILE_NOT_READABLE = 1085
125
- ER_FILE_EXISTS_ERROR = 1086
126
- ER_LOAD_INFO = 1087
127
- ER_ALTER_INFO = 1088
128
- ER_WRONG_SUB_KEY = 1089
129
- ER_CANT_REMOVE_ALL_FIELDS = 1090
130
- ER_CANT_DROP_FIELD_OR_KEY = 1091
131
- ER_INSERT_INFO = 1092
132
- ER_UPDATE_TABLE_USED = 1093
133
- ER_NO_SUCH_THREAD = 1094
134
- ER_KILL_DENIED_ERROR = 1095
135
- ER_NO_TABLES_USED = 1096
136
- ER_TOO_BIG_SET = 1097
137
- ER_NO_UNIQUE_LOGFILE = 1098
138
- ER_TABLE_NOT_LOCKED_FOR_WRITE = 1099
139
- ER_TABLE_NOT_LOCKED = 1100
140
- ER_BLOB_CANT_HAVE_DEFAULT = 1101
141
- ER_WRONG_DB_NAME = 1102
142
- ER_WRONG_TABLE_NAME = 1103
143
- ER_TOO_BIG_SELECT = 1104
144
- ER_UNKNOWN_ERROR = 1105
145
- ER_UNKNOWN_PROCEDURE = 1106
146
- ER_WRONG_PARAMCOUNT_TO_PROCEDURE = 1107
147
- ER_WRONG_PARAMETERS_TO_PROCEDURE = 1108
148
- ER_UNKNOWN_TABLE = 1109
149
- ER_FIELD_SPECIFIED_TWICE = 1110
150
- ER_INVALID_GROUP_FUNC_USE = 1111
151
- ER_UNSUPPORTED_EXTENSION = 1112
152
- ER_TABLE_MUST_HAVE_COLUMNS = 1113
153
- ER_RECORD_FILE_FULL = 1114
154
- ER_UNKNOWN_CHARACTER_SET = 1115
155
- ER_TOO_MANY_TABLES = 1116
156
- ER_TOO_MANY_FIELDS = 1117
157
- ER_TOO_BIG_ROWSIZE = 1118
158
- ER_STACK_OVERRUN = 1119
159
- ER_WRONG_OUTER_JOIN = 1120
160
- ER_NULL_COLUMN_IN_INDEX = 1121
161
- ER_CANT_FIND_UDF = 1122
162
- ER_CANT_INITIALIZE_UDF = 1123
163
- ER_UDF_NO_PATHS = 1124
164
- ER_UDF_EXISTS = 1125
165
- ER_CANT_OPEN_LIBRARY = 1126
166
- ER_CANT_FIND_DL_ENTRY = 1127
167
- ER_FUNCTION_NOT_DEFINED = 1128
168
- ER_HOST_IS_BLOCKED = 1129
169
- ER_HOST_NOT_PRIVILEGED = 1130
170
- ER_PASSWORD_ANONYMOUS_USER = 1131
171
- ER_PASSWORD_NOT_ALLOWED = 1132
172
- ER_PASSWORD_NO_MATCH = 1133
173
- ER_UPDATE_INFO = 1134
174
- ER_CANT_CREATE_THREAD = 1135
175
- ER_WRONG_VALUE_COUNT_ON_ROW = 1136
176
- ER_CANT_REOPEN_TABLE = 1137
177
- ER_INVALID_USE_OF_NULL = 1138
178
- ER_REGEXP_ERROR = 1139
179
- ER_MIX_OF_GROUP_FUNC_AND_FIELDS = 1140
180
- ER_NONEXISTING_GRANT = 1141
181
- ER_TABLEACCESS_DENIED_ERROR = 1142
182
- ER_COLUMNACCESS_DENIED_ERROR = 1143
183
- ER_ILLEGAL_GRANT_FOR_TABLE = 1144
184
- ER_GRANT_WRONG_HOST_OR_USER = 1145
185
- ER_NO_SUCH_TABLE = 1146
186
- ER_NONEXISTING_TABLE_GRANT = 1147
187
- ER_NOT_ALLOWED_COMMAND = 1148
188
- ER_SYNTAX_ERROR = 1149
189
- ER_DELAYED_CANT_CHANGE_LOCK = 1150
190
- ER_TOO_MANY_DELAYED_THREADS = 1151
191
- ER_ABORTING_CONNECTION = 1152
192
- ER_NET_PACKET_TOO_LARGE = 1153
193
- ER_NET_READ_ERROR_FROM_PIPE = 1154
194
- ER_NET_FCNTL_ERROR = 1155
195
- ER_NET_PACKETS_OUT_OF_ORDER = 1156
196
- ER_NET_UNCOMPRESS_ERROR = 1157
197
- ER_NET_READ_ERROR = 1158
198
- ER_NET_READ_INTERRUPTED = 1159
199
- ER_NET_ERROR_ON_WRITE = 1160
200
- ER_NET_WRITE_INTERRUPTED = 1161
201
- ER_TOO_LONG_STRING = 1162
202
- ER_TABLE_CANT_HANDLE_BLOB = 1163
203
- ER_TABLE_CANT_HANDLE_AUTO_INCREMENT = 1164
204
- ER_DELAYED_INSERT_TABLE_LOCKED = 1165
205
- ER_WRONG_COLUMN_NAME = 1166
206
- ER_WRONG_KEY_COLUMN = 1167
207
- ER_WRONG_MRG_TABLE = 1168
208
- ER_DUP_UNIQUE = 1169
209
- ER_BLOB_KEY_WITHOUT_LENGTH = 1170
210
- ER_PRIMARY_CANT_HAVE_NULL = 1171
211
- ER_TOO_MANY_ROWS = 1172
212
- ER_REQUIRES_PRIMARY_KEY = 1173
213
- ER_NO_RAID_COMPILED = 1174
214
- ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE = 1175
215
- ER_KEY_DOES_NOT_EXITS = 1176
216
- ER_CHECK_NO_SUCH_TABLE = 1177
217
- ER_CHECK_NOT_IMPLEMENTED = 1178
218
- ER_CANT_DO_THIS_DURING_AN_TRANSACTION = 1179
219
- ER_ERROR_DURING_COMMIT = 1180
220
- ER_ERROR_DURING_ROLLBACK = 1181
221
- ER_ERROR_DURING_FLUSH_LOGS = 1182
222
- ER_ERROR_DURING_CHECKPOINT = 1183
223
- ER_NEW_ABORTING_CONNECTION = 1184
224
- ER_DUMP_NOT_IMPLEMENTED = 1185
225
- ER_FLUSH_MASTER_BINLOG_CLOSED = 1186
226
- ER_INDEX_REBUILD = 1187
227
- ER_MASTER = 1188
228
- ER_MASTER_NET_READ = 1189
229
- ER_MASTER_NET_WRITE = 1190
230
- ER_FT_MATCHING_KEY_NOT_FOUND = 1191
231
- ER_LOCK_OR_ACTIVE_TRANSACTION = 1192
232
- ER_UNKNOWN_SYSTEM_VARIABLE = 1193
233
- ER_CRASHED_ON_USAGE = 1194
234
- ER_CRASHED_ON_REPAIR = 1195
235
- ER_WARNING_NOT_COMPLETE_ROLLBACK = 1196
236
- ER_TRANS_CACHE_FULL = 1197
237
- ER_SLAVE_MUST_STOP = 1198
238
- ER_SLAVE_NOT_RUNNING = 1199
239
- ER_BAD_SLAVE = 1200
240
- ER_MASTER_INFO = 1201
241
- ER_SLAVE_THREAD = 1202
242
- ER_TOO_MANY_USER_CONNECTIONS = 1203
243
- ER_SET_CONSTANTS_ONLY = 1204
244
- ER_LOCK_WAIT_TIMEOUT = 1205
245
- ER_LOCK_TABLE_FULL = 1206
246
- ER_READ_ONLY_TRANSACTION = 1207
247
- ER_DROP_DB_WITH_READ_LOCK = 1208
248
- ER_CREATE_DB_WITH_READ_LOCK = 1209
249
- ER_WRONG_ARGUMENTS = 1210
250
- ER_NO_PERMISSION_TO_CREATE_USER = 1211
251
- ER_UNION_TABLES_IN_DIFFERENT_DIR = 1212
252
- ER_LOCK_DEADLOCK = 1213
253
- ER_TABLE_CANT_HANDLE_FT = 1214
254
- ER_CANNOT_ADD_FOREIGN = 1215
255
- ER_NO_REFERENCED_ROW = 1216
256
- ER_ROW_IS_REFERENCED = 1217
257
- ER_CONNECT_TO_MASTER = 1218
258
- ER_QUERY_ON_MASTER = 1219
259
- ER_ERROR_WHEN_EXECUTING_COMMAND = 1220
260
- ER_WRONG_USAGE = 1221
261
- ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT = 1222
262
- ER_CANT_UPDATE_WITH_READLOCK = 1223
263
- ER_MIXING_NOT_ALLOWED = 1224
264
- ER_DUP_ARGUMENT = 1225
265
- ER_USER_LIMIT_REACHED = 1226
266
- ER_SPECIFIC_ACCESS_DENIED_ERROR = 1227
267
- ER_LOCAL_VARIABLE = 1228
268
- ER_GLOBAL_VARIABLE = 1229
269
- ER_NO_DEFAULT = 1230
270
- ER_WRONG_VALUE_FOR_VAR = 1231
271
- ER_WRONG_TYPE_FOR_VAR = 1232
272
- ER_VAR_CANT_BE_READ = 1233
273
- ER_CANT_USE_OPTION_HERE = 1234
274
- ER_NOT_SUPPORTED_YET = 1235
275
- ER_MASTER_FATAL_ERROR_READING_BINLOG = 1236
276
- ER_SLAVE_IGNORED_TABLE = 1237
277
- ER_INCORRECT_GLOBAL_LOCAL_VAR = 1238
278
- ER_WRONG_FK_DEF = 1239
279
- ER_KEY_REF_DO_NOT_MATCH_TABLE_REF = 1240
280
- ER_OPERAND_COLUMNS = 1241
281
- ER_SUBQUERY_NO_1_ROW = 1242
282
- ER_UNKNOWN_STMT_HANDLER = 1243
283
- ER_CORRUPT_HELP_DB = 1244
284
- ER_CYCLIC_REFERENCE = 1245
285
- ER_AUTO_CONVERT = 1246
286
- ER_ILLEGAL_REFERENCE = 1247
287
- ER_DERIVED_MUST_HAVE_ALIAS = 1248
288
- ER_SELECT_REDUCED = 1249
289
- ER_TABLENAME_NOT_ALLOWED_HERE = 1250
290
- ER_NOT_SUPPORTED_AUTH_MODE = 1251
291
- ER_SPATIAL_CANT_HAVE_NULL = 1252
292
- ER_COLLATION_CHARSET_MISMATCH = 1253
293
- ER_SLAVE_WAS_RUNNING = 1254
294
- ER_SLAVE_WAS_NOT_RUNNING = 1255
295
- ER_TOO_BIG_FOR_UNCOMPRESS = 1256
296
- ER_ZLIB_Z_MEM_ERROR = 1257
297
- ER_ZLIB_Z_BUF_ERROR = 1258
298
- ER_ZLIB_Z_DATA_ERROR = 1259
299
- ER_CUT_VALUE_GROUP_CONCAT = 1260
300
- ER_WARN_TOO_FEW_RECORDS = 1261
301
- ER_WARN_TOO_MANY_RECORDS = 1262
302
- ER_WARN_NULL_TO_NOTNULL = 1263
303
- ER_WARN_DATA_OUT_OF_RANGE = 1264
304
- WARN_DATA_TRUNCATED = 1265
305
- ER_WARN_USING_OTHER_HANDLER = 1266
306
- ER_CANT_AGGREGATE_2COLLATIONS = 1267
307
- ER_DROP_USER = 1268
308
- ER_REVOKE_GRANTS = 1269
309
- ER_CANT_AGGREGATE_3COLLATIONS = 1270
310
- ER_CANT_AGGREGATE_NCOLLATIONS = 1271
311
- ER_VARIABLE_IS_NOT_STRUCT = 1272
312
- ER_UNKNOWN_COLLATION = 1273
313
- ER_SLAVE_IGNORED_SSL_PARAMS = 1274
314
- ER_SERVER_IS_IN_SECURE_AUTH_MODE = 1275
315
- ER_WARN_FIELD_RESOLVED = 1276
316
- ER_BAD_SLAVE_UNTIL_COND = 1277
317
- ER_MISSING_SKIP_SLAVE = 1278
318
- ER_UNTIL_COND_IGNORED = 1279
319
- ER_WRONG_NAME_FOR_INDEX = 1280
320
- ER_WRONG_NAME_FOR_CATALOG = 1281
321
- ER_WARN_QC_RESIZE = 1282
322
- ER_BAD_FT_COLUMN = 1283
323
- ER_UNKNOWN_KEY_CACHE = 1284
324
- ER_WARN_HOSTNAME_WONT_WORK = 1285
325
- ER_UNKNOWN_STORAGE_ENGINE = 1286
326
- ER_WARN_DEPRECATED_SYNTAX = 1287
327
- ER_NON_UPDATABLE_TABLE = 1288
328
- ER_FEATURE_DISABLED = 1289
329
- ER_OPTION_PREVENTS_STATEMENT = 1290
330
- ER_DUPLICATED_VALUE_IN_TYPE = 1291
331
- ER_TRUNCATED_WRONG_VALUE = 1292
332
- ER_TOO_MUCH_AUTO_TIMESTAMP_COLS = 1293
333
- ER_INVALID_ON_UPDATE = 1294
334
- ER_UNSUPPORTED_PS = 1295
335
- ER_GET_ERRMSG = 1296
336
- ER_GET_TEMPORARY_ERRMSG = 1297
337
- ER_UNKNOWN_TIME_ZONE = 1298
338
- ER_WARN_INVALID_TIMESTAMP = 1299
339
- ER_INVALID_CHARACTER_STRING = 1300
340
- ER_WARN_ALLOWED_PACKET_OVERFLOWED = 1301
341
- ER_CONFLICTING_DECLARATIONS = 1302
342
- ER_SP_NO_RECURSIVE_CREATE = 1303
343
- ER_SP_ALREADY_EXISTS = 1304
344
- ER_SP_DOES_NOT_EXIST = 1305
345
- ER_SP_DROP_FAILED = 1306
346
- ER_SP_STORE_FAILED = 1307
347
- ER_SP_LILABEL_MISMATCH = 1308
348
- ER_SP_LABEL_REDEFINE = 1309
349
- ER_SP_LABEL_MISMATCH = 1310
350
- ER_SP_UNINIT_VAR = 1311
351
- ER_SP_BADSELECT = 1312
352
- ER_SP_BADRETURN = 1313
353
- ER_SP_BADSTATEMENT = 1314
354
- ER_UPDATE_LOG_DEPRECATED_IGNORED = 1315
355
- ER_UPDATE_LOG_DEPRECATED_TRANSLATED = 1316
356
- ER_QUERY_INTERRUPTED = 1317
357
- ER_SP_WRONG_NO_OF_ARGS = 1318
358
- ER_SP_COND_MISMATCH = 1319
359
- ER_SP_NORETURN = 1320
360
- ER_SP_NORETURNEND = 1321
361
- ER_SP_BAD_CURSOR_QUERY = 1322
362
- ER_SP_BAD_CURSOR_SELECT = 1323
363
- ER_SP_CURSOR_MISMATCH = 1324
364
- ER_SP_CURSOR_ALREADY_OPEN = 1325
365
- ER_SP_CURSOR_NOT_OPEN = 1326
366
- ER_SP_UNDECLARED_VAR = 1327
367
- ER_SP_WRONG_NO_OF_FETCH_ARGS = 1328
368
- ER_SP_FETCH_NO_DATA = 1329
369
- ER_SP_DUP_PARAM = 1330
370
- ER_SP_DUP_VAR = 1331
371
- ER_SP_DUP_COND = 1332
372
- ER_SP_DUP_CURS = 1333
373
- ER_SP_CANT_ALTER = 1334
374
- ER_SP_SUBSELECT_NYI = 1335
375
- ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG = 1336
376
- ER_SP_VARCOND_AFTER_CURSHNDLR = 1337
377
- ER_SP_CURSOR_AFTER_HANDLER = 1338
378
- ER_SP_CASE_NOT_FOUND = 1339
379
- ER_FPARSER_TOO_BIG_FILE = 1340
380
- ER_FPARSER_BAD_HEADER = 1341
381
- ER_FPARSER_EOF_IN_COMMENT = 1342
382
- ER_FPARSER_ERROR_IN_PARAMETER = 1343
383
- ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER = 1344
384
- ER_VIEW_NO_EXPLAIN = 1345
385
- ER_FRM_UNKNOWN_TYPE = 1346
386
- ER_WRONG_OBJECT = 1347
387
- ER_NONUPDATEABLE_COLUMN = 1348
388
- ER_VIEW_SELECT_DERIVED = 1349
389
- ER_VIEW_SELECT_CLAUSE = 1350
390
- ER_VIEW_SELECT_VARIABLE = 1351
391
- ER_VIEW_SELECT_TMPTABLE = 1352
392
- ER_VIEW_WRONG_LIST = 1353
393
- ER_WARN_VIEW_MERGE = 1354
394
- ER_WARN_VIEW_WITHOUT_KEY = 1355
395
- ER_VIEW_INVALID = 1356
396
- ER_SP_NO_DROP_SP = 1357
397
- ER_SP_GOTO_IN_HNDLR = 1358
398
- ER_TRG_ALREADY_EXISTS = 1359
399
- ER_TRG_DOES_NOT_EXIST = 1360
400
- ER_TRG_ON_VIEW_OR_TEMP_TABLE = 1361
401
- ER_TRG_CANT_CHANGE_ROW = 1362
402
- ER_TRG_NO_SUCH_ROW_IN_TRG = 1363
403
- ER_NO_DEFAULT_FOR_FIELD = 1364
404
- ER_DIVISION_BY_ZERO = 1365
405
- ER_TRUNCATED_WRONG_VALUE_FOR_FIELD = 1366
406
- ER_ILLEGAL_VALUE_FOR_TYPE = 1367
407
- ER_VIEW_NONUPD_CHECK = 1368
408
- ER_VIEW_CHECK_FAILED = 1369
409
- ER_PROCACCESS_DENIED_ERROR = 1370
410
- ER_RELAY_LOG_FAIL = 1371
411
- ER_PASSWD_LENGTH = 1372
412
- ER_UNKNOWN_TARGET_BINLOG = 1373
413
- ER_IO_ERR_LOG_INDEX_READ = 1374
414
- ER_BINLOG_PURGE_PROHIBITED = 1375
415
- ER_FSEEK_FAIL = 1376
416
- ER_BINLOG_PURGE_FATAL_ERR = 1377
417
- ER_LOG_IN_USE = 1378
418
- ER_LOG_PURGE_UNKNOWN_ERR = 1379
419
- ER_RELAY_LOG_INIT = 1380
420
- ER_NO_BINARY_LOGGING = 1381
421
- ER_RESERVED_SYNTAX = 1382
422
- ER_WSAS_FAILED = 1383
423
- ER_DIFF_GROUPS_PROC = 1384
424
- ER_NO_GROUP_FOR_PROC = 1385
425
- ER_ORDER_WITH_PROC = 1386
426
- ER_LOGGING_PROHIBIT_CHANGING_OF = 1387
427
- ER_NO_FILE_MAPPING = 1388
428
- ER_WRONG_MAGIC = 1389
429
- ER_PS_MANY_PARAM = 1390
430
- ER_KEY_PART_0 = 1391
431
- ER_VIEW_CHECKSUM = 1392
432
- ER_VIEW_MULTIUPDATE = 1393
433
- ER_VIEW_NO_INSERT_FIELD_LIST = 1394
434
- ER_VIEW_DELETE_MERGE_VIEW = 1395
435
- ER_CANNOT_USER = 1396
436
- ER_XAER_NOTA = 1397
437
- ER_XAER_INVAL = 1398
438
- ER_XAER_RMFAIL = 1399
439
- ER_XAER_OUTSIDE = 1400
440
- ER_XAER_RMERR = 1401
441
- ER_XA_RBROLLBACK = 1402
442
- ER_NONEXISTING_PROC_GRANT = 1403
443
- ER_PROC_AUTO_GRANT_FAIL = 1404
444
- ER_PROC_AUTO_REVOKE_FAIL = 1405
445
- ER_DATA_TOO_LONG = 1406
446
- ER_SP_BAD_SQLSTATE = 1407
447
- ER_STARTUP = 1408
448
- ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR = 1409
449
- ER_CANT_CREATE_USER_WITH_GRANT = 1410
450
- ER_WRONG_VALUE_FOR_TYPE = 1411
451
- ER_TABLE_DEF_CHANGED = 1412
452
- ER_SP_DUP_HANDLER = 1413
453
- ER_SP_NOT_VAR_ARG = 1414
454
- ER_SP_NO_RETSET = 1415
455
- ER_CANT_CREATE_GEOMETRY_OBJECT = 1416
456
- ER_FAILED_ROUTINE_BREAK_BINLOG = 1417
457
- ER_BINLOG_UNSAFE_ROUTINE = 1418
458
- ER_BINLOG_CREATE_ROUTINE_NEED_SUPER = 1419
459
- ER_EXEC_STMT_WITH_OPEN_CURSOR = 1420
460
- ER_STMT_HAS_NO_OPEN_CURSOR = 1421
461
- ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG = 1422
462
- ER_NO_DEFAULT_FOR_VIEW_FIELD = 1423
463
- ER_SP_NO_RECURSION = 1424
464
- ER_TOO_BIG_SCALE = 1425
465
- ER_TOO_BIG_PRECISION = 1426
466
- ER_M_BIGGER_THAN_D = 1427
467
- ER_WRONG_LOCK_OF_SYSTEM_TABLE = 1428
468
- ER_CONNECT_TO_FOREIGN_DATA_SOURCE = 1429
469
- ER_QUERY_ON_FOREIGN_DATA_SOURCE = 1430
470
- ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST = 1431
471
- ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE = 1432
472
- ER_FOREIGN_DATA_STRING_INVALID = 1433
473
- ER_CANT_CREATE_FEDERATED_TABLE = 1434
474
- ER_TRG_IN_WRONG_SCHEMA = 1435
475
- ER_STACK_OVERRUN_NEED_MORE = 1436
476
- ER_TOO_LONG_BODY = 1437
477
- ER_WARN_CANT_DROP_DEFAULT_KEYCACHE = 1438
478
- ER_TOO_BIG_DISPLAYWIDTH = 1439
479
- ER_XAER_DUPID = 1440
480
- ER_DATETIME_FUNCTION_OVERFLOW = 1441
481
- ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG = 1442
482
- ER_VIEW_PREVENT_UPDATE = 1443
483
- ER_PS_NO_RECURSION = 1444
484
- ER_SP_CANT_SET_AUTOCOMMIT = 1445
485
- ER_MALFORMED_DEFINER = 1446
486
- ER_VIEW_FRM_NO_USER = 1447
487
- ER_VIEW_OTHER_USER = 1448
488
- ER_NO_SUCH_USER = 1449
489
- ER_FORBID_SCHEMA_CHANGE = 1450
490
- ER_ROW_IS_REFERENCED_2 = 1451
491
- ER_NO_REFERENCED_ROW_2 = 1452
492
- ER_SP_BAD_VAR_SHADOW = 1453
493
- ER_TRG_NO_DEFINER = 1454
494
- ER_OLD_FILE_FORMAT = 1455
495
- ER_SP_RECURSION_LIMIT = 1456
496
- ER_SP_PROC_TABLE_CORRUPT = 1457
497
- ER_SP_WRONG_NAME = 1458
498
- ER_TABLE_NEEDS_UPGRADE = 1459
499
- ER_SP_NO_AGGREGATE = 1460
500
- ER_MAX_PREPARED_STMT_COUNT_REACHED = 1461
501
- ER_VIEW_RECURSIVE = 1462
502
- ER_NON_GROUPING_FIELD_USED = 1463
503
- ER_TABLE_CANT_HANDLE_SPKEYS = 1464
504
- ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA = 1465
505
- ER_REMOVED_SPACES = 1466
506
- ER_AUTOINC_READ_FAILED = 1467
507
- ER_USERNAME = 1468
508
- ER_HOSTNAME = 1469
509
- ER_WRONG_STRING_LENGTH = 1470
510
- ER_NON_INSERTABLE_TABLE = 1471
511
- ER_ADMIN_WRONG_MRG_TABLE = 1472
512
- ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT = 1473
513
- ER_NAME_BECOMES_EMPTY = 1474
514
- ER_AMBIGUOUS_FIELD_TERM = 1475
515
- ER_FOREIGN_SERVER_EXISTS = 1476
516
- ER_FOREIGN_SERVER_DOESNT_EXIST = 1477
517
- ER_ILLEGAL_HA_CREATE_OPTION = 1478
518
- ER_PARTITION_REQUIRES_VALUES_ERROR = 1479
519
- ER_PARTITION_WRONG_VALUES_ERROR = 1480
520
- ER_PARTITION_MAXVALUE_ERROR = 1481
521
- ER_PARTITION_SUBPARTITION_ERROR = 1482
522
- ER_PARTITION_SUBPART_MIX_ERROR = 1483
523
- ER_PARTITION_WRONG_NO_PART_ERROR = 1484
524
- ER_PARTITION_WRONG_NO_SUBPART_ERROR = 1485
525
- ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR = 1486
526
- ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR = 1487
527
- ER_FIELD_NOT_FOUND_PART_ERROR = 1488
528
- ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR = 1489
529
- ER_INCONSISTENT_PARTITION_INFO_ERROR = 1490
530
- ER_PARTITION_FUNC_NOT_ALLOWED_ERROR = 1491
531
- ER_PARTITIONS_MUST_BE_DEFINED_ERROR = 1492
532
- ER_RANGE_NOT_INCREASING_ERROR = 1493
533
- ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR = 1494
534
- ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR = 1495
535
- ER_PARTITION_ENTRY_ERROR = 1496
536
- ER_MIX_HANDLER_ERROR = 1497
537
- ER_PARTITION_NOT_DEFINED_ERROR = 1498
538
- ER_TOO_MANY_PARTITIONS_ERROR = 1499
539
- ER_SUBPARTITION_ERROR = 1500
540
- ER_CANT_CREATE_HANDLER_FILE = 1501
541
- ER_BLOB_FIELD_IN_PART_FUNC_ERROR = 1502
542
- ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = 1503
543
- ER_NO_PARTS_ERROR = 1504
544
- ER_PARTITION_MGMT_ON_NONPARTITIONED = 1505
545
- ER_FOREIGN_KEY_ON_PARTITIONED = 1506
546
- ER_DROP_PARTITION_NON_EXISTENT = 1507
547
- ER_DROP_LAST_PARTITION = 1508
548
- ER_COALESCE_ONLY_ON_HASH_PARTITION = 1509
549
- ER_REORG_HASH_ONLY_ON_SAME_NO = 1510
550
- ER_REORG_NO_PARAM_ERROR = 1511
551
- ER_ONLY_ON_RANGE_LIST_PARTITION = 1512
552
- ER_ADD_PARTITION_SUBPART_ERROR = 1513
553
- ER_ADD_PARTITION_NO_NEW_PARTITION = 1514
554
- ER_COALESCE_PARTITION_NO_PARTITION = 1515
555
- ER_REORG_PARTITION_NOT_EXIST = 1516
556
- ER_SAME_NAME_PARTITION = 1517
557
- ER_NO_BINLOG_ERROR = 1518
558
- ER_CONSECUTIVE_REORG_PARTITIONS = 1519
559
- ER_REORG_OUTSIDE_RANGE = 1520
560
- ER_PARTITION_FUNCTION_FAILURE = 1521
561
- ER_PART_STATE_ERROR = 1522
562
- ER_LIMITED_PART_RANGE = 1523
563
- ER_PLUGIN_IS_NOT_LOADED = 1524
564
- ER_WRONG_VALUE = 1525
565
- ER_NO_PARTITION_FOR_GIVEN_VALUE = 1526
566
- ER_FILEGROUP_OPTION_ONLY_ONCE = 1527
567
- ER_CREATE_FILEGROUP_FAILED = 1528
568
- ER_DROP_FILEGROUP_FAILED = 1529
569
- ER_TABLESPACE_AUTO_EXTEND_ERROR = 1530
570
- ER_WRONG_SIZE_NUMBER = 1531
571
- ER_SIZE_OVERFLOW_ERROR = 1532
572
- ER_ALTER_FILEGROUP_FAILED = 1533
573
- ER_BINLOG_ROW_LOGGING_FAILED = 1534
574
- ER_BINLOG_ROW_WRONG_TABLE_DEF = 1535
575
- ER_BINLOG_ROW_RBR_TO_SBR = 1536
576
- ER_EVENT_ALREADY_EXISTS = 1537
577
- ER_EVENT_STORE_FAILED = 1538
578
- ER_EVENT_DOES_NOT_EXIST = 1539
579
- ER_EVENT_CANT_ALTER = 1540
580
- ER_EVENT_DROP_FAILED = 1541
581
- ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG = 1542
582
- ER_EVENT_ENDS_BEFORE_STARTS = 1543
583
- ER_EVENT_EXEC_TIME_IN_THE_PAST = 1544
584
- ER_EVENT_OPEN_TABLE_FAILED = 1545
585
- ER_EVENT_NEITHER_M_EXPR_NOR_M_AT = 1546
586
- ER_COL_COUNT_DOESNT_MATCH_CORRUPTED = 1547
587
- ER_CANNOT_LOAD_FROM_TABLE = 1548
588
- ER_EVENT_CANNOT_DELETE = 1549
589
- ER_EVENT_COMPILE_ERROR = 1550
590
- ER_EVENT_SAME_NAME = 1551
591
- ER_EVENT_DATA_TOO_LONG = 1552
592
- ER_DROP_INDEX_FK = 1553
593
- ER_WARN_DEPRECATED_SYNTAX_WITH_VER = 1554
594
- ER_CANT_WRITE_LOCK_LOG_TABLE = 1555
595
- ER_CANT_LOCK_LOG_TABLE = 1556
596
- ER_FOREIGN_DUPLICATE_KEY = 1557
597
- ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE = 1558
598
- ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR = 1559
599
- ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1560
600
- ER_NDB_CANT_SWITCH_BINLOG_FORMAT = 1561
601
- ER_PARTITION_NO_TEMPORARY = 1562
602
- ER_PARTITION_CONST_DOMAIN_ERROR = 1563
603
- ER_PARTITION_FUNCTION_IS_NOT_ALLOWED = 1564
604
- ER_DDL_LOG_ERROR = 1565
605
- ER_NULL_IN_VALUES_LESS_THAN = 1566
606
- ER_WRONG_PARTITION_NAME = 1567
607
- ER_CANT_CHANGE_TX_ISOLATION = 1568
608
- ER_DUP_ENTRY_AUTOINCREMENT_CASE = 1569
609
- ER_EVENT_MODIFY_QUEUE_ERROR = 1570
610
- ER_EVENT_SET_VAR_ERROR = 1571
611
- ER_PARTITION_MERGE_ERROR = 1572
612
- ER_CANT_ACTIVATE_LOG = 1573
613
- ER_RBR_NOT_AVAILABLE = 1574
614
- ER_BASE64_DECODE_ERROR = 1575
615
- ER_EVENT_RECURSION_FORBIDDEN = 1576
616
- ER_EVENTS_DB_ERROR = 1577
617
- ER_ONLY_INTEGERS_ALLOWED = 1578
618
- ER_UNSUPORTED_LOG_ENGINE = 1579
619
- ER_BAD_LOG_STATEMENT = 1580
620
- ER_CANT_RENAME_LOG_TABLE = 1581
621
- ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT = 1582
622
- ER_WRONG_PARAMETERS_TO_NATIVE_FCT = 1583
623
- ER_WRONG_PARAMETERS_TO_STORED_FCT = 1584
624
- ER_NATIVE_FCT_NAME_COLLISION = 1585
625
- ER_DUP_ENTRY_WITH_KEY_NAME = 1586
626
- ER_BINLOG_PURGE_EMFILE = 1587
627
- ER_EVENT_CANNOT_CREATE_IN_THE_PAST = 1588
628
- ER_EVENT_CANNOT_ALTER_IN_THE_PAST = 1589
629
- ER_SLAVE_INCIDENT = 1590
630
- ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT = 1591
631
- ER_BINLOG_UNSAFE_STATEMENT = 1592
632
- ER_SLAVE_FATAL_ERROR = 1593
633
- ER_SLAVE_RELAY_LOG_READ_FAILURE = 1594
634
- ER_SLAVE_RELAY_LOG_WRITE_FAILURE = 1595
635
- ER_SLAVE_CREATE_EVENT_FAILURE = 1596
636
- ER_SLAVE_MASTER_COM_FAILURE = 1597
637
- ER_BINLOG_LOGGING_IMPOSSIBLE = 1598
638
- ER_VIEW_NO_CREATION_CTX = 1599
639
- ER_VIEW_INVALID_CREATION_CTX = 1600
640
- ER_SR_INVALID_CREATION_CTX = 1601
641
- ER_TRG_CORRUPTED_FILE = 1602
642
- ER_TRG_NO_CREATION_CTX = 1603
643
- ER_TRG_INVALID_CREATION_CTX = 1604
644
- ER_EVENT_INVALID_CREATION_CTX = 1605
645
- ER_TRG_CANT_OPEN_TABLE = 1606
646
- ER_CANT_CREATE_SROUTINE = 1607
647
- ER_NEVER_USED = 1608
648
- ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT = 1609
649
- ER_SLAVE_CORRUPT_EVENT = 1610
650
- ER_LOAD_DATA_INVALID_COLUMN = 1611
651
- ER_LOG_PURGE_NO_FILE = 1612
652
- ER_XA_RBTIMEOUT = 1613
653
- ER_XA_RBDEADLOCK = 1614
654
- ER_NEED_REPREPARE = 1615
655
- ER_DELAYED_NOT_SUPPORTED = 1616
656
- WARN_NO_MASTER_INFO = 1617
657
- WARN_OPTION_IGNORED = 1618
658
- WARN_PLUGIN_DELETE_BUILTIN = 1619
659
- WARN_PLUGIN_BUSY = 1620
660
- ER_VARIABLE_IS_READONLY = 1621
661
- ER_WARN_ENGINE_TRANSACTION_ROLLBACK = 1622
662
- ER_SLAVE_HEARTBEAT_FAILURE = 1623
663
- ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE = 1624
664
- ER_NDB_REPLICATION_SCHEMA_ERROR = 1625
665
- ER_CONFLICT_FN_PARSE_ERROR = 1626
666
- ER_EXCEPTIONS_WRITE_ERROR = 1627
667
- ER_TOO_LONG_TABLE_COMMENT = 1628
668
- ER_TOO_LONG_FIELD_COMMENT = 1629
669
- ER_FUNC_INEXISTENT_NAME_COLLISION = 1630
670
- ER_DATABASE_NAME = 1631
671
- ER_TABLE_NAME = 1632
672
- ER_PARTITION_NAME = 1633
673
- ER_SUBPARTITION_NAME = 1634
674
- ER_TEMPORARY_NAME = 1635
675
- ER_RENAMED_NAME = 1636
676
- ER_TOO_MANY_CONCURRENT_TRXS = 1637
677
- WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED = 1638
678
- ER_DEBUG_SYNC_TIMEOUT = 1639
679
- ER_DEBUG_SYNC_HIT_LIMIT = 1640
680
- ER_DUP_SIGNAL_SET = 1641
681
- ER_SIGNAL_WARN = 1642
682
- ER_SIGNAL_NOT_FOUND = 1643
683
- ER_SIGNAL_EXCEPTION = 1644
684
- ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER = 1645
685
- ER_SIGNAL_BAD_CONDITION_TYPE = 1646
686
- WARN_COND_ITEM_TRUNCATED = 1647
687
- ER_COND_ITEM_TOO_LONG = 1648
688
- ER_UNKNOWN_LOCALE = 1649
689
- ER_SLAVE_IGNORE_SERVER_IDS = 1650
690
- ER_QUERY_CACHE_DISABLED = 1651
691
- ER_SAME_NAME_PARTITION_FIELD = 1652
692
- ER_PARTITION_COLUMN_LIST_ERROR = 1653
693
- ER_WRONG_TYPE_COLUMN_VALUE_ERROR = 1654
694
- ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR = 1655
695
- ER_MAXVALUE_IN_VALUES_IN = 1656
696
- ER_TOO_MANY_VALUES_ERROR = 1657
697
- ER_ROW_SINGLE_PARTITION_FIELD_ERROR = 1658
698
- ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD = 1659
699
- ER_PARTITION_FIELDS_TOO_LONG = 1660
700
- ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE = 1661
701
- ER_BINLOG_ROW_MODE_AND_STMT_ENGINE = 1662
702
- ER_BINLOG_UNSAFE_AND_STMT_ENGINE = 1663
703
- ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE = 1664
704
- ER_BINLOG_STMT_MODE_AND_ROW_ENGINE = 1665
705
- ER_BINLOG_ROW_INJECTION_AND_STMT_MODE = 1666
706
- ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1667
707
- ER_BINLOG_UNSAFE_LIMIT = 1668
708
- ER_BINLOG_UNSAFE_INSERT_DELAYED = 1669
709
- ER_BINLOG_UNSAFE_SYSTEM_TABLE = 1670
710
- ER_BINLOG_UNSAFE_AUTOINC_COLUMNS = 1671
711
- ER_BINLOG_UNSAFE_UDF = 1672
712
- ER_BINLOG_UNSAFE_SYSTEM_VARIABLE = 1673
713
- ER_BINLOG_UNSAFE_SYSTEM_FUNCTION = 1674
714
- ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS = 1675
715
- ER_MESSAGE_AND_STATEMENT = 1676
716
- ER_SLAVE_CONVERSION_FAILED = 1677
717
- ER_SLAVE_CANT_CREATE_CONVERSION = 1678
718
- ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1679
719
- ER_PATH_LENGTH = 1680
720
- ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT = 1681
721
- ER_WRONG_NATIVE_TABLE_STRUCTURE = 1682
722
- ER_WRONG_PERFSCHEMA_USAGE = 1683
723
- ER_WARN_I_S_SKIPPED_TABLE = 1684
724
- ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1685
725
- ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1686
726
- ER_SPATIAL_MUST_HAVE_GEOM_COL = 1687
727
- ER_TOO_LONG_INDEX_COMMENT = 1688
728
- ER_LOCK_ABORTED = 1689
729
- ER_DATA_OUT_OF_RANGE = 1690
730
- ER_WRONG_SPVAR_TYPE_IN_LIMIT = 1691
731
- ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1692
732
- ER_BINLOG_UNSAFE_MIXED_STATEMENT = 1693
733
- ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1694
734
- ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1695
735
- ER_FAILED_READ_FROM_PAR_FILE = 1696
736
- ER_VALUES_IS_NOT_INT_TYPE_ERROR = 1697
737
- ER_ACCESS_DENIED_NO_PASSWORD_ERROR = 1698
738
- ER_SET_PASSWORD_AUTH_PLUGIN = 1699
739
- ER_GRANT_PLUGIN_USER_EXISTS = 1700
740
- ER_TRUNCATE_ILLEGAL_FK = 1701
741
- ER_PLUGIN_IS_PERMANENT = 1702
742
- ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN = 1703
743
- ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX = 1704
744
- ER_ERROR_LAST = 1704
40
+ ER_ERROR_FIRST = 1000
41
+ ER_HASHCHK = 1000
42
+ ER_NISAMCHK = 1001
43
+ ER_NO = 1002
44
+ ER_YES = 1003
45
+ ER_CANT_CREATE_FILE = 1004
46
+ ER_CANT_CREATE_TABLE = 1005
47
+ ER_CANT_CREATE_DB = 1006
48
+ ER_DB_CREATE_EXISTS = 1007
49
+ ER_DB_DROP_EXISTS = 1008
50
+ ER_DB_DROP_DELETE = 1009
51
+ ER_DB_DROP_RMDIR = 1010
52
+ ER_CANT_DELETE_FILE = 1011
53
+ ER_CANT_FIND_SYSTEM_REC = 1012
54
+ ER_CANT_GET_STAT = 1013
55
+ ER_CANT_GET_WD = 1014
56
+ ER_CANT_LOCK = 1015
57
+ ER_CANT_OPEN_FILE = 1016
58
+ ER_FILE_NOT_FOUND = 1017
59
+ ER_CANT_READ_DIR = 1018
60
+ ER_CANT_SET_WD = 1019
61
+ ER_CHECKREAD = 1020
62
+ ER_DISK_FULL = 1021
63
+ ER_DUP_KEY = 1022
64
+ ER_ERROR_ON_CLOSE = 1023
65
+ ER_ERROR_ON_READ = 1024
66
+ ER_ERROR_ON_RENAME = 1025
67
+ ER_ERROR_ON_WRITE = 1026
68
+ ER_FILE_USED = 1027
69
+ ER_FILSORT_ABORT = 1028
70
+ ER_FORM_NOT_FOUND = 1029
71
+ ER_GET_ERRNO = 1030
72
+ ER_ILLEGAL_HA = 1031
73
+ ER_KEY_NOT_FOUND = 1032
74
+ ER_NOT_FORM_FILE = 1033
75
+ ER_NOT_KEYFILE = 1034
76
+ ER_OLD_KEYFILE = 1035
77
+ ER_OPEN_AS_READONLY = 1036
78
+ ER_OUTOFMEMORY = 1037
79
+ ER_OUT_OF_SORTMEMORY = 1038
80
+ ER_UNEXPECTED_EOF = 1039
81
+ ER_CON_COUNT_ERROR = 1040
82
+ ER_OUT_OF_RESOURCES = 1041
83
+ ER_BAD_HOST_ERROR = 1042
84
+ ER_HANDSHAKE_ERROR = 1043
85
+ ER_DBACCESS_DENIED_ERROR = 1044
86
+ ER_ACCESS_DENIED_ERROR = 1045
87
+ ER_NO_DB_ERROR = 1046
88
+ ER_UNKNOWN_COM_ERROR = 1047
89
+ ER_BAD_NULL_ERROR = 1048
90
+ ER_BAD_DB_ERROR = 1049
91
+ ER_TABLE_EXISTS_ERROR = 1050
92
+ ER_BAD_TABLE_ERROR = 1051
93
+ ER_NON_UNIQ_ERROR = 1052
94
+ ER_SERVER_SHUTDOWN = 1053
95
+ ER_BAD_FIELD_ERROR = 1054
96
+ ER_WRONG_FIELD_WITH_GROUP = 1055
97
+ ER_WRONG_GROUP_FIELD = 1056
98
+ ER_WRONG_SUM_SELECT = 1057
99
+ ER_WRONG_VALUE_COUNT = 1058
100
+ ER_TOO_LONG_IDENT = 1059
101
+ ER_DUP_FIELDNAME = 1060
102
+ ER_DUP_KEYNAME = 1061
103
+ ER_DUP_ENTRY = 1062
104
+ ER_WRONG_FIELD_SPEC = 1063
105
+ ER_PARSE_ERROR = 1064
106
+ ER_EMPTY_QUERY = 1065
107
+ ER_NONUNIQ_TABLE = 1066
108
+ ER_INVALID_DEFAULT = 1067
109
+ ER_MULTIPLE_PRI_KEY = 1068
110
+ ER_TOO_MANY_KEYS = 1069
111
+ ER_TOO_MANY_KEY_PARTS = 1070
112
+ ER_TOO_LONG_KEY = 1071
113
+ ER_KEY_COLUMN_DOES_NOT_EXITS = 1072
114
+ ER_BLOB_USED_AS_KEY = 1073
115
+ ER_TOO_BIG_FIELDLENGTH = 1074
116
+ ER_WRONG_AUTO_KEY = 1075
117
+ ER_READY = 1076
118
+ ER_NORMAL_SHUTDOWN = 1077
119
+ ER_GOT_SIGNAL = 1078
120
+ ER_SHUTDOWN_COMPLETE = 1079
121
+ ER_FORCING_CLOSE = 1080
122
+ ER_IPSOCK_ERROR = 1081
123
+ ER_NO_SUCH_INDEX = 1082
124
+ ER_WRONG_FIELD_TERMINATORS = 1083
125
+ ER_BLOBS_AND_NO_TERMINATED = 1084
126
+ ER_TEXTFILE_NOT_READABLE = 1085
127
+ ER_FILE_EXISTS_ERROR = 1086
128
+ ER_LOAD_INFO = 1087
129
+ ER_ALTER_INFO = 1088
130
+ ER_WRONG_SUB_KEY = 1089
131
+ ER_CANT_REMOVE_ALL_FIELDS = 1090
132
+ ER_CANT_DROP_FIELD_OR_KEY = 1091
133
+ ER_INSERT_INFO = 1092
134
+ ER_UPDATE_TABLE_USED = 1093
135
+ ER_NO_SUCH_THREAD = 1094
136
+ ER_KILL_DENIED_ERROR = 1095
137
+ ER_NO_TABLES_USED = 1096
138
+ ER_TOO_BIG_SET = 1097
139
+ ER_NO_UNIQUE_LOGFILE = 1098
140
+ ER_TABLE_NOT_LOCKED_FOR_WRITE = 1099
141
+ ER_TABLE_NOT_LOCKED = 1100
142
+ ER_BLOB_CANT_HAVE_DEFAULT = 1101
143
+ ER_WRONG_DB_NAME = 1102
144
+ ER_WRONG_TABLE_NAME = 1103
145
+ ER_TOO_BIG_SELECT = 1104
146
+ ER_UNKNOWN_ERROR = 1105
147
+ ER_UNKNOWN_PROCEDURE = 1106
148
+ ER_WRONG_PARAMCOUNT_TO_PROCEDURE = 1107
149
+ ER_WRONG_PARAMETERS_TO_PROCEDURE = 1108
150
+ ER_UNKNOWN_TABLE = 1109
151
+ ER_FIELD_SPECIFIED_TWICE = 1110
152
+ ER_INVALID_GROUP_FUNC_USE = 1111
153
+ ER_UNSUPPORTED_EXTENSION = 1112
154
+ ER_TABLE_MUST_HAVE_COLUMNS = 1113
155
+ ER_RECORD_FILE_FULL = 1114
156
+ ER_UNKNOWN_CHARACTER_SET = 1115
157
+ ER_TOO_MANY_TABLES = 1116
158
+ ER_TOO_MANY_FIELDS = 1117
159
+ ER_TOO_BIG_ROWSIZE = 1118
160
+ ER_STACK_OVERRUN = 1119
161
+ ER_WRONG_OUTER_JOIN = 1120
162
+ ER_NULL_COLUMN_IN_INDEX = 1121
163
+ ER_CANT_FIND_UDF = 1122
164
+ ER_CANT_INITIALIZE_UDF = 1123
165
+ ER_UDF_NO_PATHS = 1124
166
+ ER_UDF_EXISTS = 1125
167
+ ER_CANT_OPEN_LIBRARY = 1126
168
+ ER_CANT_FIND_DL_ENTRY = 1127
169
+ ER_FUNCTION_NOT_DEFINED = 1128
170
+ ER_HOST_IS_BLOCKED = 1129
171
+ ER_HOST_NOT_PRIVILEGED = 1130
172
+ ER_PASSWORD_ANONYMOUS_USER = 1131
173
+ ER_PASSWORD_NOT_ALLOWED = 1132
174
+ ER_PASSWORD_NO_MATCH = 1133
175
+ ER_UPDATE_INFO = 1134
176
+ ER_CANT_CREATE_THREAD = 1135
177
+ ER_WRONG_VALUE_COUNT_ON_ROW = 1136
178
+ ER_CANT_REOPEN_TABLE = 1137
179
+ ER_INVALID_USE_OF_NULL = 1138
180
+ ER_REGEXP_ERROR = 1139
181
+ ER_MIX_OF_GROUP_FUNC_AND_FIELDS = 1140
182
+ ER_NONEXISTING_GRANT = 1141
183
+ ER_TABLEACCESS_DENIED_ERROR = 1142
184
+ ER_COLUMNACCESS_DENIED_ERROR = 1143
185
+ ER_ILLEGAL_GRANT_FOR_TABLE = 1144
186
+ ER_GRANT_WRONG_HOST_OR_USER = 1145
187
+ ER_NO_SUCH_TABLE = 1146
188
+ ER_NONEXISTING_TABLE_GRANT = 1147
189
+ ER_NOT_ALLOWED_COMMAND = 1148
190
+ ER_SYNTAX_ERROR = 1149
191
+ ER_DELAYED_CANT_CHANGE_LOCK = 1150
192
+ ER_TOO_MANY_DELAYED_THREADS = 1151
193
+ ER_ABORTING_CONNECTION = 1152
194
+ ER_NET_PACKET_TOO_LARGE = 1153
195
+ ER_NET_READ_ERROR_FROM_PIPE = 1154
196
+ ER_NET_FCNTL_ERROR = 1155
197
+ ER_NET_PACKETS_OUT_OF_ORDER = 1156
198
+ ER_NET_UNCOMPRESS_ERROR = 1157
199
+ ER_NET_READ_ERROR = 1158
200
+ ER_NET_READ_INTERRUPTED = 1159
201
+ ER_NET_ERROR_ON_WRITE = 1160
202
+ ER_NET_WRITE_INTERRUPTED = 1161
203
+ ER_TOO_LONG_STRING = 1162
204
+ ER_TABLE_CANT_HANDLE_BLOB = 1163
205
+ ER_TABLE_CANT_HANDLE_AUTO_INCREMENT = 1164
206
+ ER_DELAYED_INSERT_TABLE_LOCKED = 1165
207
+ ER_WRONG_COLUMN_NAME = 1166
208
+ ER_WRONG_KEY_COLUMN = 1167
209
+ ER_WRONG_MRG_TABLE = 1168
210
+ ER_DUP_UNIQUE = 1169
211
+ ER_BLOB_KEY_WITHOUT_LENGTH = 1170
212
+ ER_PRIMARY_CANT_HAVE_NULL = 1171
213
+ ER_TOO_MANY_ROWS = 1172
214
+ ER_REQUIRES_PRIMARY_KEY = 1173
215
+ ER_NO_RAID_COMPILED = 1174
216
+ ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE = 1175
217
+ ER_KEY_DOES_NOT_EXITS = 1176
218
+ ER_CHECK_NO_SUCH_TABLE = 1177
219
+ ER_CHECK_NOT_IMPLEMENTED = 1178
220
+ ER_CANT_DO_THIS_DURING_AN_TRANSACTION = 1179
221
+ ER_ERROR_DURING_COMMIT = 1180
222
+ ER_ERROR_DURING_ROLLBACK = 1181
223
+ ER_ERROR_DURING_FLUSH_LOGS = 1182
224
+ ER_ERROR_DURING_CHECKPOINT = 1183
225
+ ER_NEW_ABORTING_CONNECTION = 1184
226
+ ER_DUMP_NOT_IMPLEMENTED = 1185
227
+ ER_FLUSH_MASTER_BINLOG_CLOSED = 1186
228
+ ER_INDEX_REBUILD = 1187
229
+ ER_MASTER = 1188
230
+ ER_MASTER_NET_READ = 1189
231
+ ER_MASTER_NET_WRITE = 1190
232
+ ER_FT_MATCHING_KEY_NOT_FOUND = 1191
233
+ ER_LOCK_OR_ACTIVE_TRANSACTION = 1192
234
+ ER_UNKNOWN_SYSTEM_VARIABLE = 1193
235
+ ER_CRASHED_ON_USAGE = 1194
236
+ ER_CRASHED_ON_REPAIR = 1195
237
+ ER_WARNING_NOT_COMPLETE_ROLLBACK = 1196
238
+ ER_TRANS_CACHE_FULL = 1197
239
+ ER_SLAVE_MUST_STOP = 1198
240
+ ER_SLAVE_NOT_RUNNING = 1199
241
+ ER_BAD_SLAVE = 1200
242
+ ER_MASTER_INFO = 1201
243
+ ER_SLAVE_THREAD = 1202
244
+ ER_TOO_MANY_USER_CONNECTIONS = 1203
245
+ ER_SET_CONSTANTS_ONLY = 1204
246
+ ER_LOCK_WAIT_TIMEOUT = 1205
247
+ ER_LOCK_TABLE_FULL = 1206
248
+ ER_READ_ONLY_TRANSACTION = 1207
249
+ ER_DROP_DB_WITH_READ_LOCK = 1208
250
+ ER_CREATE_DB_WITH_READ_LOCK = 1209
251
+ ER_WRONG_ARGUMENTS = 1210
252
+ ER_NO_PERMISSION_TO_CREATE_USER = 1211
253
+ ER_UNION_TABLES_IN_DIFFERENT_DIR = 1212
254
+ ER_LOCK_DEADLOCK = 1213
255
+ ER_TABLE_CANT_HANDLE_FT = 1214
256
+ ER_CANNOT_ADD_FOREIGN = 1215
257
+ ER_NO_REFERENCED_ROW = 1216
258
+ ER_ROW_IS_REFERENCED = 1217
259
+ ER_CONNECT_TO_MASTER = 1218
260
+ ER_QUERY_ON_MASTER = 1219
261
+ ER_ERROR_WHEN_EXECUTING_COMMAND = 1220
262
+ ER_WRONG_USAGE = 1221
263
+ ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT = 1222
264
+ ER_CANT_UPDATE_WITH_READLOCK = 1223
265
+ ER_MIXING_NOT_ALLOWED = 1224
266
+ ER_DUP_ARGUMENT = 1225
267
+ ER_USER_LIMIT_REACHED = 1226
268
+ ER_SPECIFIC_ACCESS_DENIED_ERROR = 1227
269
+ ER_LOCAL_VARIABLE = 1228
270
+ ER_GLOBAL_VARIABLE = 1229
271
+ ER_NO_DEFAULT = 1230
272
+ ER_WRONG_VALUE_FOR_VAR = 1231
273
+ ER_WRONG_TYPE_FOR_VAR = 1232
274
+ ER_VAR_CANT_BE_READ = 1233
275
+ ER_CANT_USE_OPTION_HERE = 1234
276
+ ER_NOT_SUPPORTED_YET = 1235
277
+ ER_MASTER_FATAL_ERROR_READING_BINLOG = 1236
278
+ ER_SLAVE_IGNORED_TABLE = 1237
279
+ ER_INCORRECT_GLOBAL_LOCAL_VAR = 1238
280
+ ER_WRONG_FK_DEF = 1239
281
+ ER_KEY_REF_DO_NOT_MATCH_TABLE_REF = 1240
282
+ ER_OPERAND_COLUMNS = 1241
283
+ ER_SUBQUERY_NO_1_ROW = 1242
284
+ ER_UNKNOWN_STMT_HANDLER = 1243
285
+ ER_CORRUPT_HELP_DB = 1244
286
+ ER_CYCLIC_REFERENCE = 1245
287
+ ER_AUTO_CONVERT = 1246
288
+ ER_ILLEGAL_REFERENCE = 1247
289
+ ER_DERIVED_MUST_HAVE_ALIAS = 1248
290
+ ER_SELECT_REDUCED = 1249
291
+ ER_TABLENAME_NOT_ALLOWED_HERE = 1250
292
+ ER_NOT_SUPPORTED_AUTH_MODE = 1251
293
+ ER_SPATIAL_CANT_HAVE_NULL = 1252
294
+ ER_COLLATION_CHARSET_MISMATCH = 1253
295
+ ER_SLAVE_WAS_RUNNING = 1254
296
+ ER_SLAVE_WAS_NOT_RUNNING = 1255
297
+ ER_TOO_BIG_FOR_UNCOMPRESS = 1256
298
+ ER_ZLIB_Z_MEM_ERROR = 1257
299
+ ER_ZLIB_Z_BUF_ERROR = 1258
300
+ ER_ZLIB_Z_DATA_ERROR = 1259
301
+ ER_CUT_VALUE_GROUP_CONCAT = 1260
302
+ ER_WARN_TOO_FEW_RECORDS = 1261
303
+ ER_WARN_TOO_MANY_RECORDS = 1262
304
+ ER_WARN_NULL_TO_NOTNULL = 1263
305
+ ER_WARN_DATA_OUT_OF_RANGE = 1264
306
+ WARN_DATA_TRUNCATED = 1265
307
+ ER_WARN_USING_OTHER_HANDLER = 1266
308
+ ER_CANT_AGGREGATE_2COLLATIONS = 1267
309
+ ER_DROP_USER = 1268
310
+ ER_REVOKE_GRANTS = 1269
311
+ ER_CANT_AGGREGATE_3COLLATIONS = 1270
312
+ ER_CANT_AGGREGATE_NCOLLATIONS = 1271
313
+ ER_VARIABLE_IS_NOT_STRUCT = 1272
314
+ ER_UNKNOWN_COLLATION = 1273
315
+ ER_SLAVE_IGNORED_SSL_PARAMS = 1274
316
+ ER_SERVER_IS_IN_SECURE_AUTH_MODE = 1275
317
+ ER_WARN_FIELD_RESOLVED = 1276
318
+ ER_BAD_SLAVE_UNTIL_COND = 1277
319
+ ER_MISSING_SKIP_SLAVE = 1278
320
+ ER_UNTIL_COND_IGNORED = 1279
321
+ ER_WRONG_NAME_FOR_INDEX = 1280
322
+ ER_WRONG_NAME_FOR_CATALOG = 1281
323
+ ER_WARN_QC_RESIZE = 1282
324
+ ER_BAD_FT_COLUMN = 1283
325
+ ER_UNKNOWN_KEY_CACHE = 1284
326
+ ER_WARN_HOSTNAME_WONT_WORK = 1285
327
+ ER_UNKNOWN_STORAGE_ENGINE = 1286
328
+ ER_WARN_DEPRECATED_SYNTAX = 1287
329
+ ER_NON_UPDATABLE_TABLE = 1288
330
+ ER_FEATURE_DISABLED = 1289
331
+ ER_OPTION_PREVENTS_STATEMENT = 1290
332
+ ER_DUPLICATED_VALUE_IN_TYPE = 1291
333
+ ER_TRUNCATED_WRONG_VALUE = 1292
334
+ ER_TOO_MUCH_AUTO_TIMESTAMP_COLS = 1293
335
+ ER_INVALID_ON_UPDATE = 1294
336
+ ER_UNSUPPORTED_PS = 1295
337
+ ER_GET_ERRMSG = 1296
338
+ ER_GET_TEMPORARY_ERRMSG = 1297
339
+ ER_UNKNOWN_TIME_ZONE = 1298
340
+ ER_WARN_INVALID_TIMESTAMP = 1299
341
+ ER_INVALID_CHARACTER_STRING = 1300
342
+ ER_WARN_ALLOWED_PACKET_OVERFLOWED = 1301
343
+ ER_CONFLICTING_DECLARATIONS = 1302
344
+ ER_SP_NO_RECURSIVE_CREATE = 1303
345
+ ER_SP_ALREADY_EXISTS = 1304
346
+ ER_SP_DOES_NOT_EXIST = 1305
347
+ ER_SP_DROP_FAILED = 1306
348
+ ER_SP_STORE_FAILED = 1307
349
+ ER_SP_LILABEL_MISMATCH = 1308
350
+ ER_SP_LABEL_REDEFINE = 1309
351
+ ER_SP_LABEL_MISMATCH = 1310
352
+ ER_SP_UNINIT_VAR = 1311
353
+ ER_SP_BADSELECT = 1312
354
+ ER_SP_BADRETURN = 1313
355
+ ER_SP_BADSTATEMENT = 1314
356
+ ER_UPDATE_LOG_DEPRECATED_IGNORED = 1315
357
+ ER_UPDATE_LOG_DEPRECATED_TRANSLATED = 1316
358
+ ER_QUERY_INTERRUPTED = 1317
359
+ ER_SP_WRONG_NO_OF_ARGS = 1318
360
+ ER_SP_COND_MISMATCH = 1319
361
+ ER_SP_NORETURN = 1320
362
+ ER_SP_NORETURNEND = 1321
363
+ ER_SP_BAD_CURSOR_QUERY = 1322
364
+ ER_SP_BAD_CURSOR_SELECT = 1323
365
+ ER_SP_CURSOR_MISMATCH = 1324
366
+ ER_SP_CURSOR_ALREADY_OPEN = 1325
367
+ ER_SP_CURSOR_NOT_OPEN = 1326
368
+ ER_SP_UNDECLARED_VAR = 1327
369
+ ER_SP_WRONG_NO_OF_FETCH_ARGS = 1328
370
+ ER_SP_FETCH_NO_DATA = 1329
371
+ ER_SP_DUP_PARAM = 1330
372
+ ER_SP_DUP_VAR = 1331
373
+ ER_SP_DUP_COND = 1332
374
+ ER_SP_DUP_CURS = 1333
375
+ ER_SP_CANT_ALTER = 1334
376
+ ER_SP_SUBSELECT_NYI = 1335
377
+ ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG = 1336
378
+ ER_SP_VARCOND_AFTER_CURSHNDLR = 1337
379
+ ER_SP_CURSOR_AFTER_HANDLER = 1338
380
+ ER_SP_CASE_NOT_FOUND = 1339
381
+ ER_FPARSER_TOO_BIG_FILE = 1340
382
+ ER_FPARSER_BAD_HEADER = 1341
383
+ ER_FPARSER_EOF_IN_COMMENT = 1342
384
+ ER_FPARSER_ERROR_IN_PARAMETER = 1343
385
+ ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER = 1344
386
+ ER_VIEW_NO_EXPLAIN = 1345
387
+ ER_FRM_UNKNOWN_TYPE = 1346
388
+ ER_WRONG_OBJECT = 1347
389
+ ER_NONUPDATEABLE_COLUMN = 1348
390
+ ER_VIEW_SELECT_DERIVED = 1349
391
+ ER_VIEW_SELECT_CLAUSE = 1350
392
+ ER_VIEW_SELECT_VARIABLE = 1351
393
+ ER_VIEW_SELECT_TMPTABLE = 1352
394
+ ER_VIEW_WRONG_LIST = 1353
395
+ ER_WARN_VIEW_MERGE = 1354
396
+ ER_WARN_VIEW_WITHOUT_KEY = 1355
397
+ ER_VIEW_INVALID = 1356
398
+ ER_SP_NO_DROP_SP = 1357
399
+ ER_SP_GOTO_IN_HNDLR = 1358
400
+ ER_TRG_ALREADY_EXISTS = 1359
401
+ ER_TRG_DOES_NOT_EXIST = 1360
402
+ ER_TRG_ON_VIEW_OR_TEMP_TABLE = 1361
403
+ ER_TRG_CANT_CHANGE_ROW = 1362
404
+ ER_TRG_NO_SUCH_ROW_IN_TRG = 1363
405
+ ER_NO_DEFAULT_FOR_FIELD = 1364
406
+ ER_DIVISION_BY_ZERO = 1365
407
+ ER_TRUNCATED_WRONG_VALUE_FOR_FIELD = 1366
408
+ ER_ILLEGAL_VALUE_FOR_TYPE = 1367
409
+ ER_VIEW_NONUPD_CHECK = 1368
410
+ ER_VIEW_CHECK_FAILED = 1369
411
+ ER_PROCACCESS_DENIED_ERROR = 1370
412
+ ER_RELAY_LOG_FAIL = 1371
413
+ ER_PASSWD_LENGTH = 1372
414
+ ER_UNKNOWN_TARGET_BINLOG = 1373
415
+ ER_IO_ERR_LOG_INDEX_READ = 1374
416
+ ER_BINLOG_PURGE_PROHIBITED = 1375
417
+ ER_FSEEK_FAIL = 1376
418
+ ER_BINLOG_PURGE_FATAL_ERR = 1377
419
+ ER_LOG_IN_USE = 1378
420
+ ER_LOG_PURGE_UNKNOWN_ERR = 1379
421
+ ER_RELAY_LOG_INIT = 1380
422
+ ER_NO_BINARY_LOGGING = 1381
423
+ ER_RESERVED_SYNTAX = 1382
424
+ ER_WSAS_FAILED = 1383
425
+ ER_DIFF_GROUPS_PROC = 1384
426
+ ER_NO_GROUP_FOR_PROC = 1385
427
+ ER_ORDER_WITH_PROC = 1386
428
+ ER_LOGGING_PROHIBIT_CHANGING_OF = 1387
429
+ ER_NO_FILE_MAPPING = 1388
430
+ ER_WRONG_MAGIC = 1389
431
+ ER_PS_MANY_PARAM = 1390
432
+ ER_KEY_PART_0 = 1391
433
+ ER_VIEW_CHECKSUM = 1392
434
+ ER_VIEW_MULTIUPDATE = 1393
435
+ ER_VIEW_NO_INSERT_FIELD_LIST = 1394
436
+ ER_VIEW_DELETE_MERGE_VIEW = 1395
437
+ ER_CANNOT_USER = 1396
438
+ ER_XAER_NOTA = 1397
439
+ ER_XAER_INVAL = 1398
440
+ ER_XAER_RMFAIL = 1399
441
+ ER_XAER_OUTSIDE = 1400
442
+ ER_XAER_RMERR = 1401
443
+ ER_XA_RBROLLBACK = 1402
444
+ ER_NONEXISTING_PROC_GRANT = 1403
445
+ ER_PROC_AUTO_GRANT_FAIL = 1404
446
+ ER_PROC_AUTO_REVOKE_FAIL = 1405
447
+ ER_DATA_TOO_LONG = 1406
448
+ ER_SP_BAD_SQLSTATE = 1407
449
+ ER_STARTUP = 1408
450
+ ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR = 1409
451
+ ER_CANT_CREATE_USER_WITH_GRANT = 1410
452
+ ER_WRONG_VALUE_FOR_TYPE = 1411
453
+ ER_TABLE_DEF_CHANGED = 1412
454
+ ER_SP_DUP_HANDLER = 1413
455
+ ER_SP_NOT_VAR_ARG = 1414
456
+ ER_SP_NO_RETSET = 1415
457
+ ER_CANT_CREATE_GEOMETRY_OBJECT = 1416
458
+ ER_FAILED_ROUTINE_BREAK_BINLOG = 1417
459
+ ER_BINLOG_UNSAFE_ROUTINE = 1418
460
+ ER_BINLOG_CREATE_ROUTINE_NEED_SUPER = 1419
461
+ ER_EXEC_STMT_WITH_OPEN_CURSOR = 1420
462
+ ER_STMT_HAS_NO_OPEN_CURSOR = 1421
463
+ ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG = 1422
464
+ ER_NO_DEFAULT_FOR_VIEW_FIELD = 1423
465
+ ER_SP_NO_RECURSION = 1424
466
+ ER_TOO_BIG_SCALE = 1425
467
+ ER_TOO_BIG_PRECISION = 1426
468
+ ER_M_BIGGER_THAN_D = 1427
469
+ ER_WRONG_LOCK_OF_SYSTEM_TABLE = 1428
470
+ ER_CONNECT_TO_FOREIGN_DATA_SOURCE = 1429
471
+ ER_QUERY_ON_FOREIGN_DATA_SOURCE = 1430
472
+ ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST = 1431
473
+ ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE = 1432
474
+ ER_FOREIGN_DATA_STRING_INVALID = 1433
475
+ ER_CANT_CREATE_FEDERATED_TABLE = 1434
476
+ ER_TRG_IN_WRONG_SCHEMA = 1435
477
+ ER_STACK_OVERRUN_NEED_MORE = 1436
478
+ ER_TOO_LONG_BODY = 1437
479
+ ER_WARN_CANT_DROP_DEFAULT_KEYCACHE = 1438
480
+ ER_TOO_BIG_DISPLAYWIDTH = 1439
481
+ ER_XAER_DUPID = 1440
482
+ ER_DATETIME_FUNCTION_OVERFLOW = 1441
483
+ ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG = 1442
484
+ ER_VIEW_PREVENT_UPDATE = 1443
485
+ ER_PS_NO_RECURSION = 1444
486
+ ER_SP_CANT_SET_AUTOCOMMIT = 1445
487
+ ER_MALFORMED_DEFINER = 1446
488
+ ER_VIEW_FRM_NO_USER = 1447
489
+ ER_VIEW_OTHER_USER = 1448
490
+ ER_NO_SUCH_USER = 1449
491
+ ER_FORBID_SCHEMA_CHANGE = 1450
492
+ ER_ROW_IS_REFERENCED_2 = 1451
493
+ ER_NO_REFERENCED_ROW_2 = 1452
494
+ ER_SP_BAD_VAR_SHADOW = 1453
495
+ ER_TRG_NO_DEFINER = 1454
496
+ ER_OLD_FILE_FORMAT = 1455
497
+ ER_SP_RECURSION_LIMIT = 1456
498
+ ER_SP_PROC_TABLE_CORRUPT = 1457
499
+ ER_SP_WRONG_NAME = 1458
500
+ ER_TABLE_NEEDS_UPGRADE = 1459
501
+ ER_SP_NO_AGGREGATE = 1460
502
+ ER_MAX_PREPARED_STMT_COUNT_REACHED = 1461
503
+ ER_VIEW_RECURSIVE = 1462
504
+ ER_NON_GROUPING_FIELD_USED = 1463
505
+ ER_TABLE_CANT_HANDLE_SPKEYS = 1464
506
+ ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA = 1465
507
+ ER_REMOVED_SPACES = 1466
508
+ ER_AUTOINC_READ_FAILED = 1467
509
+ ER_USERNAME = 1468
510
+ ER_HOSTNAME = 1469
511
+ ER_WRONG_STRING_LENGTH = 1470
512
+ ER_NON_INSERTABLE_TABLE = 1471
513
+ ER_ADMIN_WRONG_MRG_TABLE = 1472
514
+ ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT = 1473
515
+ ER_NAME_BECOMES_EMPTY = 1474
516
+ ER_AMBIGUOUS_FIELD_TERM = 1475
517
+ ER_FOREIGN_SERVER_EXISTS = 1476
518
+ ER_FOREIGN_SERVER_DOESNT_EXIST = 1477
519
+ ER_ILLEGAL_HA_CREATE_OPTION = 1478
520
+ ER_PARTITION_REQUIRES_VALUES_ERROR = 1479
521
+ ER_PARTITION_WRONG_VALUES_ERROR = 1480
522
+ ER_PARTITION_MAXVALUE_ERROR = 1481
523
+ ER_PARTITION_SUBPARTITION_ERROR = 1482
524
+ ER_PARTITION_SUBPART_MIX_ERROR = 1483
525
+ ER_PARTITION_WRONG_NO_PART_ERROR = 1484
526
+ ER_PARTITION_WRONG_NO_SUBPART_ERROR = 1485
527
+ ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR = 1486
528
+ ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR = 1487
529
+ ER_FIELD_NOT_FOUND_PART_ERROR = 1488
530
+ ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR = 1489
531
+ ER_INCONSISTENT_PARTITION_INFO_ERROR = 1490
532
+ ER_PARTITION_FUNC_NOT_ALLOWED_ERROR = 1491
533
+ ER_PARTITIONS_MUST_BE_DEFINED_ERROR = 1492
534
+ ER_RANGE_NOT_INCREASING_ERROR = 1493
535
+ ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR = 1494
536
+ ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR = 1495
537
+ ER_PARTITION_ENTRY_ERROR = 1496
538
+ ER_MIX_HANDLER_ERROR = 1497
539
+ ER_PARTITION_NOT_DEFINED_ERROR = 1498
540
+ ER_TOO_MANY_PARTITIONS_ERROR = 1499
541
+ ER_SUBPARTITION_ERROR = 1500
542
+ ER_CANT_CREATE_HANDLER_FILE = 1501
543
+ ER_BLOB_FIELD_IN_PART_FUNC_ERROR = 1502
544
+ ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = 1503
545
+ ER_NO_PARTS_ERROR = 1504
546
+ ER_PARTITION_MGMT_ON_NONPARTITIONED = 1505
547
+ ER_FOREIGN_KEY_ON_PARTITIONED = 1506
548
+ ER_DROP_PARTITION_NON_EXISTENT = 1507
549
+ ER_DROP_LAST_PARTITION = 1508
550
+ ER_COALESCE_ONLY_ON_HASH_PARTITION = 1509
551
+ ER_REORG_HASH_ONLY_ON_SAME_NO = 1510
552
+ ER_REORG_NO_PARAM_ERROR = 1511
553
+ ER_ONLY_ON_RANGE_LIST_PARTITION = 1512
554
+ ER_ADD_PARTITION_SUBPART_ERROR = 1513
555
+ ER_ADD_PARTITION_NO_NEW_PARTITION = 1514
556
+ ER_COALESCE_PARTITION_NO_PARTITION = 1515
557
+ ER_REORG_PARTITION_NOT_EXIST = 1516
558
+ ER_SAME_NAME_PARTITION = 1517
559
+ ER_NO_BINLOG_ERROR = 1518
560
+ ER_CONSECUTIVE_REORG_PARTITIONS = 1519
561
+ ER_REORG_OUTSIDE_RANGE = 1520
562
+ ER_PARTITION_FUNCTION_FAILURE = 1521
563
+ ER_PART_STATE_ERROR = 1522
564
+ ER_LIMITED_PART_RANGE = 1523
565
+ ER_PLUGIN_IS_NOT_LOADED = 1524
566
+ ER_WRONG_VALUE = 1525
567
+ ER_NO_PARTITION_FOR_GIVEN_VALUE = 1526
568
+ ER_FILEGROUP_OPTION_ONLY_ONCE = 1527
569
+ ER_CREATE_FILEGROUP_FAILED = 1528
570
+ ER_DROP_FILEGROUP_FAILED = 1529
571
+ ER_TABLESPACE_AUTO_EXTEND_ERROR = 1530
572
+ ER_WRONG_SIZE_NUMBER = 1531
573
+ ER_SIZE_OVERFLOW_ERROR = 1532
574
+ ER_ALTER_FILEGROUP_FAILED = 1533
575
+ ER_BINLOG_ROW_LOGGING_FAILED = 1534
576
+ ER_BINLOG_ROW_WRONG_TABLE_DEF = 1535
577
+ ER_BINLOG_ROW_RBR_TO_SBR = 1536
578
+ ER_EVENT_ALREADY_EXISTS = 1537
579
+ ER_EVENT_STORE_FAILED = 1538
580
+ ER_EVENT_DOES_NOT_EXIST = 1539
581
+ ER_EVENT_CANT_ALTER = 1540
582
+ ER_EVENT_DROP_FAILED = 1541
583
+ ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG = 1542
584
+ ER_EVENT_ENDS_BEFORE_STARTS = 1543
585
+ ER_EVENT_EXEC_TIME_IN_THE_PAST = 1544
586
+ ER_EVENT_OPEN_TABLE_FAILED = 1545
587
+ ER_EVENT_NEITHER_M_EXPR_NOR_M_AT = 1546
588
+ ER_COL_COUNT_DOESNT_MATCH_CORRUPTED = 1547
589
+ ER_OBSOLETE_COL_COUNT_DOESNT_MATCH_CORRUPTED = 1547
590
+ ER_CANNOT_LOAD_FROM_TABLE = 1548
591
+ ER_OBSOLETE_CANNOT_LOAD_FROM_TABLE = 1548
592
+ ER_EVENT_CANNOT_DELETE = 1549
593
+ ER_EVENT_COMPILE_ERROR = 1550
594
+ ER_EVENT_SAME_NAME = 1551
595
+ ER_EVENT_DATA_TOO_LONG = 1552
596
+ ER_DROP_INDEX_FK = 1553
597
+ ER_WARN_DEPRECATED_SYNTAX_WITH_VER = 1554
598
+ ER_CANT_WRITE_LOCK_LOG_TABLE = 1555
599
+ ER_CANT_LOCK_LOG_TABLE = 1556
600
+ ER_FOREIGN_DUPLICATE_KEY = 1557
601
+ ER_FOREIGN_DUPLICATE_KEY_OLD_UNUSED = 1557
602
+ ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE = 1558
603
+ ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR = 1559
604
+ ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1560
605
+ ER_NDB_CANT_SWITCH_BINLOG_FORMAT = 1561
606
+ ER_PARTITION_NO_TEMPORARY = 1562
607
+ ER_PARTITION_CONST_DOMAIN_ERROR = 1563
608
+ ER_PARTITION_FUNCTION_IS_NOT_ALLOWED = 1564
609
+ ER_DDL_LOG_ERROR = 1565
610
+ ER_NULL_IN_VALUES_LESS_THAN = 1566
611
+ ER_WRONG_PARTITION_NAME = 1567
612
+ ER_CANT_CHANGE_TX_ISOLATION = 1568
613
+ ER_CANT_CHANGE_TX_CHARACTERISTICS = 1568
614
+ ER_DUP_ENTRY_AUTOINCREMENT_CASE = 1569
615
+ ER_EVENT_MODIFY_QUEUE_ERROR = 1570
616
+ ER_EVENT_SET_VAR_ERROR = 1571
617
+ ER_PARTITION_MERGE_ERROR = 1572
618
+ ER_CANT_ACTIVATE_LOG = 1573
619
+ ER_RBR_NOT_AVAILABLE = 1574
620
+ ER_BASE64_DECODE_ERROR = 1575
621
+ ER_EVENT_RECURSION_FORBIDDEN = 1576
622
+ ER_EVENTS_DB_ERROR = 1577
623
+ ER_ONLY_INTEGERS_ALLOWED = 1578
624
+ ER_UNSUPORTED_LOG_ENGINE = 1579
625
+ ER_BAD_LOG_STATEMENT = 1580
626
+ ER_CANT_RENAME_LOG_TABLE = 1581
627
+ ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT = 1582
628
+ ER_WRONG_PARAMETERS_TO_NATIVE_FCT = 1583
629
+ ER_WRONG_PARAMETERS_TO_STORED_FCT = 1584
630
+ ER_NATIVE_FCT_NAME_COLLISION = 1585
631
+ ER_DUP_ENTRY_WITH_KEY_NAME = 1586
632
+ ER_BINLOG_PURGE_EMFILE = 1587
633
+ ER_EVENT_CANNOT_CREATE_IN_THE_PAST = 1588
634
+ ER_EVENT_CANNOT_ALTER_IN_THE_PAST = 1589
635
+ ER_SLAVE_INCIDENT = 1590
636
+ ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT = 1591
637
+ ER_BINLOG_UNSAFE_STATEMENT = 1592
638
+ ER_SLAVE_FATAL_ERROR = 1593
639
+ ER_SLAVE_RELAY_LOG_READ_FAILURE = 1594
640
+ ER_SLAVE_RELAY_LOG_WRITE_FAILURE = 1595
641
+ ER_SLAVE_CREATE_EVENT_FAILURE = 1596
642
+ ER_SLAVE_MASTER_COM_FAILURE = 1597
643
+ ER_BINLOG_LOGGING_IMPOSSIBLE = 1598
644
+ ER_VIEW_NO_CREATION_CTX = 1599
645
+ ER_VIEW_INVALID_CREATION_CTX = 1600
646
+ ER_SR_INVALID_CREATION_CTX = 1601
647
+ ER_TRG_CORRUPTED_FILE = 1602
648
+ ER_TRG_NO_CREATION_CTX = 1603
649
+ ER_TRG_INVALID_CREATION_CTX = 1604
650
+ ER_EVENT_INVALID_CREATION_CTX = 1605
651
+ ER_TRG_CANT_OPEN_TABLE = 1606
652
+ ER_CANT_CREATE_SROUTINE = 1607
653
+ ER_NEVER_USED = 1608
654
+ ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT = 1609
655
+ ER_SLAVE_CORRUPT_EVENT = 1610
656
+ ER_LOAD_DATA_INVALID_COLUMN = 1611
657
+ ER_LOG_PURGE_NO_FILE = 1612
658
+ ER_XA_RBTIMEOUT = 1613
659
+ ER_XA_RBDEADLOCK = 1614
660
+ ER_NEED_REPREPARE = 1615
661
+ ER_DELAYED_NOT_SUPPORTED = 1616
662
+ WARN_NO_MASTER_INFO = 1617
663
+ WARN_OPTION_IGNORED = 1618
664
+ WARN_PLUGIN_DELETE_BUILTIN = 1619
665
+ WARN_PLUGIN_BUSY = 1620
666
+ ER_VARIABLE_IS_READONLY = 1621
667
+ ER_WARN_ENGINE_TRANSACTION_ROLLBACK = 1622
668
+ ER_SLAVE_HEARTBEAT_FAILURE = 1623
669
+ ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE = 1624
670
+ ER_NDB_REPLICATION_SCHEMA_ERROR = 1625
671
+ ER_CONFLICT_FN_PARSE_ERROR = 1626
672
+ ER_EXCEPTIONS_WRITE_ERROR = 1627
673
+ ER_TOO_LONG_TABLE_COMMENT = 1628
674
+ ER_TOO_LONG_FIELD_COMMENT = 1629
675
+ ER_FUNC_INEXISTENT_NAME_COLLISION = 1630
676
+ ER_DATABASE_NAME = 1631
677
+ ER_TABLE_NAME = 1632
678
+ ER_PARTITION_NAME = 1633
679
+ ER_SUBPARTITION_NAME = 1634
680
+ ER_TEMPORARY_NAME = 1635
681
+ ER_RENAMED_NAME = 1636
682
+ ER_TOO_MANY_CONCURRENT_TRXS = 1637
683
+ WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED = 1638
684
+ ER_DEBUG_SYNC_TIMEOUT = 1639
685
+ ER_DEBUG_SYNC_HIT_LIMIT = 1640
686
+ ER_DUP_SIGNAL_SET = 1641
687
+ ER_SIGNAL_WARN = 1642
688
+ ER_SIGNAL_NOT_FOUND = 1643
689
+ ER_SIGNAL_EXCEPTION = 1644
690
+ ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER = 1645
691
+ ER_SIGNAL_BAD_CONDITION_TYPE = 1646
692
+ WARN_COND_ITEM_TRUNCATED = 1647
693
+ ER_COND_ITEM_TOO_LONG = 1648
694
+ ER_UNKNOWN_LOCALE = 1649
695
+ ER_SLAVE_IGNORE_SERVER_IDS = 1650
696
+ ER_QUERY_CACHE_DISABLED = 1651
697
+ ER_SAME_NAME_PARTITION_FIELD = 1652
698
+ ER_PARTITION_COLUMN_LIST_ERROR = 1653
699
+ ER_WRONG_TYPE_COLUMN_VALUE_ERROR = 1654
700
+ ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR = 1655
701
+ ER_MAXVALUE_IN_VALUES_IN = 1656
702
+ ER_TOO_MANY_VALUES_ERROR = 1657
703
+ ER_ROW_SINGLE_PARTITION_FIELD_ERROR = 1658
704
+ ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD = 1659
705
+ ER_PARTITION_FIELDS_TOO_LONG = 1660
706
+ ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE = 1661
707
+ ER_BINLOG_ROW_MODE_AND_STMT_ENGINE = 1662
708
+ ER_BINLOG_UNSAFE_AND_STMT_ENGINE = 1663
709
+ ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE = 1664
710
+ ER_BINLOG_STMT_MODE_AND_ROW_ENGINE = 1665
711
+ ER_BINLOG_ROW_INJECTION_AND_STMT_MODE = 1666
712
+ ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1667
713
+ ER_BINLOG_UNSAFE_LIMIT = 1668
714
+ ER_BINLOG_UNSAFE_INSERT_DELAYED = 1669
715
+ ER_BINLOG_UNSAFE_SYSTEM_TABLE = 1670
716
+ ER_BINLOG_UNSAFE_AUTOINC_COLUMNS = 1671
717
+ ER_BINLOG_UNSAFE_UDF = 1672
718
+ ER_BINLOG_UNSAFE_SYSTEM_VARIABLE = 1673
719
+ ER_BINLOG_UNSAFE_SYSTEM_FUNCTION = 1674
720
+ ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS = 1675
721
+ ER_MESSAGE_AND_STATEMENT = 1676
722
+ ER_SLAVE_CONVERSION_FAILED = 1677
723
+ ER_SLAVE_CANT_CREATE_CONVERSION = 1678
724
+ ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1679
725
+ ER_PATH_LENGTH = 1680
726
+ ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT = 1681
727
+ ER_WRONG_NATIVE_TABLE_STRUCTURE = 1682
728
+ ER_WRONG_PERFSCHEMA_USAGE = 1683
729
+ ER_WARN_I_S_SKIPPED_TABLE = 1684
730
+ ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1685
731
+ ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1686
732
+ ER_SPATIAL_MUST_HAVE_GEOM_COL = 1687
733
+ ER_TOO_LONG_INDEX_COMMENT = 1688
734
+ ER_LOCK_ABORTED = 1689
735
+ ER_DATA_OUT_OF_RANGE = 1690
736
+ ER_WRONG_SPVAR_TYPE_IN_LIMIT = 1691
737
+ ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1692
738
+ ER_BINLOG_UNSAFE_MIXED_STATEMENT = 1693
739
+ ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1694
740
+ ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1695
741
+ ER_FAILED_READ_FROM_PAR_FILE = 1696
742
+ ER_VALUES_IS_NOT_INT_TYPE_ERROR = 1697
743
+ ER_ACCESS_DENIED_NO_PASSWORD_ERROR = 1698
744
+ ER_SET_PASSWORD_AUTH_PLUGIN = 1699
745
+ ER_GRANT_PLUGIN_USER_EXISTS = 1700
746
+ ER_TRUNCATE_ILLEGAL_FK = 1701
747
+ ER_PLUGIN_IS_PERMANENT = 1702
748
+ ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN = 1703
749
+ ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX = 1704
750
+ ER_STMT_CACHE_FULL = 1705
751
+ ER_MULTI_UPDATE_KEY_CONFLICT = 1706
752
+ ER_TABLE_NEEDS_REBUILD = 1707
753
+ WARN_OPTION_BELOW_LIMIT = 1708
754
+ ER_INDEX_COLUMN_TOO_LONG = 1709
755
+ ER_ERROR_IN_TRIGGER_BODY = 1710
756
+ ER_ERROR_IN_UNKNOWN_TRIGGER_BODY = 1711
757
+ ER_INDEX_CORRUPT = 1712
758
+ ER_UNDO_RECORD_TOO_BIG = 1713
759
+ ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT = 1714
760
+ ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE = 1715
761
+ ER_BINLOG_UNSAFE_REPLACE_SELECT = 1716
762
+ ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT = 1717
763
+ ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT = 1718
764
+ ER_BINLOG_UNSAFE_UPDATE_IGNORE = 1719
765
+ ER_PLUGIN_NO_UNINSTALL = 1720
766
+ ER_PLUGIN_NO_INSTALL = 1721
767
+ ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT = 1722
768
+ ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC = 1723
769
+ ER_BINLOG_UNSAFE_INSERT_TWO_KEYS = 1724
770
+ ER_TABLE_IN_FK_CHECK = 1725
771
+ ER_UNSUPPORTED_ENGINE = 1726
772
+ ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST = 1727
773
+ ER_CANNOT_LOAD_FROM_TABLE_V2 = 1728
774
+ ER_MASTER_DELAY_VALUE_OUT_OF_RANGE = 1729
775
+ ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT = 1730
776
+ ER_PARTITION_EXCHANGE_DIFFERENT_OPTION = 1731
777
+ ER_PARTITION_EXCHANGE_PART_TABLE = 1732
778
+ ER_PARTITION_EXCHANGE_TEMP_TABLE = 1733
779
+ ER_PARTITION_INSTEAD_OF_SUBPARTITION = 1734
780
+ ER_UNKNOWN_PARTITION = 1735
781
+ ER_TABLES_DIFFERENT_METADATA = 1736
782
+ ER_ROW_DOES_NOT_MATCH_PARTITION = 1737
783
+ ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX = 1738
784
+ ER_WARN_INDEX_NOT_APPLICABLE = 1739
785
+ ER_PARTITION_EXCHANGE_FOREIGN_KEY = 1740
786
+ ER_NO_SUCH_KEY_VALUE = 1741
787
+ ER_RPL_INFO_DATA_TOO_LONG = 1742
788
+ ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE = 1743
789
+ ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE = 1744
790
+ ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX = 1745
791
+ ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT = 1746
792
+ ER_PARTITION_CLAUSE_ON_NONPARTITIONED = 1747
793
+ ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET = 1748
794
+ ER_NO_SUCH_PARTITION__UNUSED = 1749
795
+ ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE = 1750
796
+ ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE = 1751
797
+ ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE = 1752
798
+ ER_MTS_FEATURE_IS_NOT_SUPPORTED = 1753
799
+ ER_MTS_UPDATED_DBS_GREATER_MAX = 1754
800
+ ER_MTS_CANT_PARALLEL = 1755
801
+ ER_MTS_INCONSISTENT_DATA = 1756
802
+ ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING = 1757
803
+ ER_DA_INVALID_CONDITION_NUMBER = 1758
804
+ ER_INSECURE_PLAIN_TEXT = 1759
805
+ ER_INSECURE_CHANGE_MASTER = 1760
806
+ ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO = 1761
807
+ ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO = 1762
808
+ ER_SQLTHREAD_WITH_SECURE_SLAVE = 1763
809
+ ER_TABLE_HAS_NO_FT = 1764
810
+ ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER = 1765
811
+ ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION = 1766
812
+ ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST = 1767
813
+ ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION_WHEN_GTID_NEXT_LIST_IS_NULL = 1768
814
+ ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION = 1769
815
+ ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL = 1770
816
+ ER_SKIPPING_LOGGED_TRANSACTION = 1771
817
+ ER_MALFORMED_GTID_SET_SPECIFICATION = 1772
818
+ ER_MALFORMED_GTID_SET_ENCODING = 1773
819
+ ER_MALFORMED_GTID_SPECIFICATION = 1774
820
+ ER_GNO_EXHAUSTED = 1775
821
+ ER_BAD_SLAVE_AUTO_POSITION = 1776
822
+ ER_AUTO_POSITION_REQUIRES_GTID_MODE_ON = 1777
823
+ ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET = 1778
824
+ ER_GTID_MODE_2_OR_3_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON = 1779
825
+ ER_GTID_MODE_REQUIRES_BINLOG = 1780
826
+ ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF = 1781
827
+ ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON = 1782
828
+ ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF = 1783
829
+ ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF = 1784
830
+ ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE = 1785
831
+ ER_GTID_UNSAFE_CREATE_SELECT = 1786
832
+ ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION = 1787
833
+ ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME = 1788
834
+ ER_MASTER_HAS_PURGED_REQUIRED_GTIDS = 1789
835
+ ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID = 1790
836
+ ER_UNKNOWN_EXPLAIN_FORMAT = 1791
837
+ ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION = 1792
838
+ ER_TOO_LONG_TABLE_PARTITION_COMMENT = 1793
839
+ ER_SLAVE_CONFIGURATION = 1794
840
+ ER_INNODB_FT_LIMIT = 1795
841
+ ER_INNODB_NO_FT_TEMP_TABLE = 1796
842
+ ER_INNODB_FT_WRONG_DOCID_COLUMN = 1797
843
+ ER_INNODB_FT_WRONG_DOCID_INDEX = 1798
844
+ ER_INNODB_ONLINE_LOG_TOO_BIG = 1799
845
+ ER_UNKNOWN_ALTER_ALGORITHM = 1800
846
+ ER_UNKNOWN_ALTER_LOCK = 1801
847
+ ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS = 1802
848
+ ER_MTS_RECOVERY_FAILURE = 1803
849
+ ER_MTS_RESET_WORKERS = 1804
850
+ ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2 = 1805
851
+ ER_SLAVE_SILENT_RETRY_TRANSACTION = 1806
852
+ ER_DISCARD_FK_CHECKS_RUNNING = 1807
853
+ ER_TABLE_SCHEMA_MISMATCH = 1808
854
+ ER_TABLE_IN_SYSTEM_TABLESPACE = 1809
855
+ ER_IO_READ_ERROR = 1810
856
+ ER_IO_WRITE_ERROR = 1811
857
+ ER_TABLESPACE_MISSING = 1812
858
+ ER_TABLESPACE_EXISTS = 1813
859
+ ER_TABLESPACE_DISCARDED = 1814
860
+ ER_INTERNAL_ERROR = 1815
861
+ ER_INNODB_IMPORT_ERROR = 1816
862
+ ER_INNODB_INDEX_CORRUPT = 1817
863
+ ER_INVALID_YEAR_COLUMN_LENGTH = 1818
864
+ ER_NOT_VALID_PASSWORD = 1819
865
+ ER_MUST_CHANGE_PASSWORD = 1820
866
+ ER_FK_NO_INDEX_CHILD = 1821
867
+ ER_FK_NO_INDEX_PARENT = 1822
868
+ ER_FK_FAIL_ADD_SYSTEM = 1823
869
+ ER_FK_CANNOT_OPEN_PARENT = 1824
870
+ ER_FK_INCORRECT_OPTION = 1825
871
+ ER_FK_DUP_NAME = 1826
872
+ ER_PASSWORD_FORMAT = 1827
873
+ ER_FK_COLUMN_CANNOT_DROP = 1828
874
+ ER_FK_COLUMN_CANNOT_DROP_CHILD = 1829
875
+ ER_FK_COLUMN_NOT_NULL = 1830
876
+ ER_DUP_INDEX = 1831
877
+ ER_FK_COLUMN_CANNOT_CHANGE = 1832
878
+ ER_FK_COLUMN_CANNOT_CHANGE_CHILD = 1833
879
+ ER_FK_CANNOT_DELETE_PARENT = 1834
880
+ ER_MALFORMED_PACKET = 1835
881
+ ER_READ_ONLY_MODE = 1836
882
+ ER_GTID_NEXT_TYPE_UNDEFINED_GROUP = 1837
883
+ ER_VARIABLE_NOT_SETTABLE_IN_SP = 1838
884
+ ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF = 1839
885
+ ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY = 1840
886
+ ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY = 1841
887
+ ER_GTID_PURGED_WAS_CHANGED = 1842
888
+ ER_GTID_EXECUTED_WAS_CHANGED = 1843
889
+ ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES = 1844
890
+ ER_ALTER_OPERATION_NOT_SUPPORTED = 1845
891
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON = 1846
892
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY = 1847
893
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION = 1848
894
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME = 1849
895
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE = 1850
896
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK = 1851
897
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE = 1852
898
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK = 1853
899
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC = 1854
900
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS = 1855
901
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS = 1856
902
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS = 1857
903
+ ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE = 1858
904
+ ER_DUP_UNKNOWN_IN_INDEX = 1859
905
+ ER_IDENT_CAUSES_TOO_LONG_PATH = 1860
906
+ ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL = 1861
907
+ ER_ERROR_LAST = 1861
745
908
  end
746
909
 
747
910
  ServerError.define_error_class(/\AER_/)
@@ -751,6 +914,7 @@ class Mysql
751
914
  class ClientError < Error
752
915
  ERROR_MAP = {}
753
916
 
917
+ CR_ERROR_FIRST = 2000
754
918
  CR_UNKNOWN_ERROR = 2000
755
919
  CR_SOCKET_CREATE_ERROR = 2001
756
920
  CR_CONNECTION_ERROR = 2002
@@ -811,6 +975,9 @@ class Mysql
811
975
  CR_NEW_STMT_METADATA = 2057
812
976
  CR_ALREADY_CONNECTED = 2058
813
977
  CR_AUTH_PLUGIN_CANNOT_LOAD = 2059
978
+ CR_DUPLICATE_CONNECTION_ATTR = 2060
979
+ CR_AUTH_PLUGIN_ERR = 2061
980
+ CR_ERROR_LAST = 2061
814
981
  end
815
982
 
816
983
  ClientError.define_error_class(/\ACR_/)