Skip to content

Instantly share code, notes, and snippets.

@fforbeck
Forked from mmdemirbas/gist:3656288
Created February 2, 2018 16:15
Show Gist options
  • Save fforbeck/cad4cc5049c19d2958b6464b7a88e15c to your computer and use it in GitHub Desktop.
Save fforbeck/cad4cc5049c19d2958b6464b7a88e15c to your computer and use it in GitHub Desktop.
Aggresive MySql Stored Procedure Debugging
DECLARE E INT DEFAULT 0;
DECLARE M TEXT DEFAULT NULL;
DECLARE CONTINUE HANDLER FOR 1000 SET E='1000', M="hashchk";
DECLARE CONTINUE HANDLER FOR 1001 SET E='1001', M="isamchk";
DECLARE CONTINUE HANDLER FOR 1002 SET E='1002', M="NO";
DECLARE CONTINUE HANDLER FOR 1003 SET E='1003', M="YES";
DECLARE CONTINUE HANDLER FOR 1004 SET E='1004', M="Can't create file '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1005 SET E='1005', M="Can't create table '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1006 SET E='1006', M="Can't create database '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1007 SET E='1007', M="Can't create database '%s'; database exists";
DECLARE CONTINUE HANDLER FOR 1008 SET E='1008', M="Can't drop database '%s'; database doesn't exist";
DECLARE CONTINUE HANDLER FOR 1009 SET E='1009', M="Error dropping database (can't delete '%s', errno: %d)";
DECLARE CONTINUE HANDLER FOR 1010 SET E='1010', M="Error dropping database (can't rmdir '%s', errno: %d)";
DECLARE CONTINUE HANDLER FOR 1011 SET E='1011', M="Error on delete of '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1012 SET E='1012', M="Can't read record in system table";
DECLARE CONTINUE HANDLER FOR 1013 SET E='1013', M="Can't get status of '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1014 SET E='1014', M="Can't get working directory (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1015 SET E='1015', M="Can't lock file (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1016 SET E='1016', M="Can't open file: '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1017 SET E='1017', M="Can't find file: '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1018 SET E='1018', M="Can't read dir of '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1019 SET E='1019', M="Can't change dir to '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1020 SET E='1020', M="Record has changed since last read in table '%s'";
DECLARE CONTINUE HANDLER FOR 1021 SET E='1021', M="Disk full (%s); waiting for someone to free some space...";
DECLARE CONTINUE HANDLER FOR 1022 SET E='1022', M="Can't write; duplicate key in table '%s'";
DECLARE CONTINUE HANDLER FOR 1023 SET E='1023', M="Error on close of '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1024 SET E='1024', M="Error reading file '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1025 SET E='1025', M="Error on rename of '%s' to '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1026 SET E='1026', M="Error writing file '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1027 SET E='1027', M="'%s' is locked against change";
DECLARE CONTINUE HANDLER FOR 1028 SET E='1028', M="Sort aborted";
DECLARE CONTINUE HANDLER FOR 1029 SET E='1029', M="View '%s' doesn't exist for '%s'";
DECLARE CONTINUE HANDLER FOR 1030 SET E='1030', M="Got error %d from storage engine";
DECLARE CONTINUE HANDLER FOR 1031 SET E='1031', M="Table storage engine for '%s' doesn't have this option";
DECLARE CONTINUE HANDLER FOR 1032 SET E='1032', M="Can't find record in '%s'";
DECLARE CONTINUE HANDLER FOR 1033 SET E='1033', M="Incorrect information in file: '%s'";
DECLARE CONTINUE HANDLER FOR 1034 SET E='1034', M="Incorrect key file for table '%s'; try to repair it";
DECLARE CONTINUE HANDLER FOR 1035 SET E='1035', M="Old key file for table '%s'; repair it!";
DECLARE CONTINUE HANDLER FOR 1036 SET E='1036', M="Table '%s' is read only";
DECLARE CONTINUE HANDLER FOR 1037 SET E='1037', M="Out of memory; restart server and try again (needed %d bytes)";
DECLARE CONTINUE HANDLER FOR 1038 SET E='1038', M="Out of sort memory; increase server sort buffer size";
DECLARE CONTINUE HANDLER FOR 1039 SET E='1039', M="Unexpected EOF found when reading file '%s' (errno: %d)";
DECLARE CONTINUE HANDLER FOR 1040 SET E='1040', M="Too many connections";
DECLARE CONTINUE HANDLER FOR 1041 SET E='1041', M="Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space";
DECLARE CONTINUE HANDLER FOR 1042 SET E='1042', M="Can't get hostname for your address";
DECLARE CONTINUE HANDLER FOR 1043 SET E='1043', M="Bad handshake";
DECLARE CONTINUE HANDLER FOR 1044 SET E='1044', M="Access denied for user '%s'@'%s' to database '%s'";
DECLARE CONTINUE HANDLER FOR 1045 SET E='1045', M="Access denied for user '%s'@'%s' (using password: %s)";
DECLARE CONTINUE HANDLER FOR 1046 SET E='1046', M="No database selected";
DECLARE CONTINUE HANDLER FOR 1047 SET E='1047', M="Unknown command";
DECLARE CONTINUE HANDLER FOR 1048 SET E='1048', M="Column '%s' cannot be null";
DECLARE CONTINUE HANDLER FOR 1049 SET E='1049', M="Unknown database '%s'";
DECLARE CONTINUE HANDLER FOR 1050 SET E='1050', M="Table '%s' already exists";
DECLARE CONTINUE HANDLER FOR 1051 SET E='1051', M="Unknown table '%s'";
DECLARE CONTINUE HANDLER FOR 1052 SET E='1052', M="Column '%s' in %s is ambiguous";
DECLARE CONTINUE HANDLER FOR 1053 SET E='1053', M="Server shutdown in progress";
DECLARE CONTINUE HANDLER FOR 1054 SET E='1054', M="Unknown column '%s' in '%s'";
DECLARE CONTINUE HANDLER FOR 1055 SET E='1055', M="'%s' isn't in GROUP BY";
DECLARE CONTINUE HANDLER FOR 1056 SET E='1056', M="Can't group on '%s'";
DECLARE CONTINUE HANDLER FOR 1057 SET E='1057', M="Statement has sum functions and columns in same statement";
DECLARE CONTINUE HANDLER FOR 1058 SET E='1058', M="Column count doesn't match value count";
DECLARE CONTINUE HANDLER FOR 1059 SET E='1059', M="Identifier name '%s' is too long";
DECLARE CONTINUE HANDLER FOR 1060 SET E='1060', M="Duplicate column name '%s'";
DECLARE CONTINUE HANDLER FOR 1061 SET E='1061', M="Duplicate key name '%s'";
DECLARE CONTINUE HANDLER FOR 1062 SET E='1062', M="Duplicate entry '%s' for key %d";
DECLARE CONTINUE HANDLER FOR 1063 SET E='1063', M="Incorrect column specifier for column '%s'";
DECLARE CONTINUE HANDLER FOR 1064 SET E='1064', M="%s near '%s' at line %d";
DECLARE CONTINUE HANDLER FOR 1065 SET E='1065', M="Query was empty";
DECLARE CONTINUE HANDLER FOR 1066 SET E='1066', M="Not unique table/alias: '%s'";
DECLARE CONTINUE HANDLER FOR 1067 SET E='1067', M="Invalid default value for '%s'";
DECLARE CONTINUE HANDLER FOR 1068 SET E='1068', M="Multiple primary key defined";
DECLARE CONTINUE HANDLER FOR 1069 SET E='1069', M="Too many keys specified; max %d keys allowed";
DECLARE CONTINUE HANDLER FOR 1070 SET E='1070', M="Too many key parts specified; max %d parts allowed";
DECLARE CONTINUE HANDLER FOR 1071 SET E='1071', M="Specified key was too long; max key length is %d bytes";
DECLARE CONTINUE HANDLER FOR 1072 SET E='1072', M="Key column '%s' doesn't exist in table";
DECLARE CONTINUE HANDLER FOR 1073 SET E='1073', M="BLOB column '%s' can't be used in key specification with the used table type";
DECLARE CONTINUE HANDLER FOR 1074 SET E='1074', M="Column length too big for column '%s' (max = %lu); use BLOB or TEXT instead";
DECLARE CONTINUE HANDLER FOR 1075 SET E='1075', M="Incorrect table definition; there can be only one auto column and it must be defined as a key";
DECLARE CONTINUE HANDLER FOR 1076 SET E='1076', M="%s: ready for connections. Version: '%s' socket: '%s' port: %d";
DECLARE CONTINUE HANDLER FOR 1077 SET E='1077', M="%s: Normal shutdown";
DECLARE CONTINUE HANDLER FOR 1078 SET E='1078', M="%s: Got signal %d. Aborting!";
DECLARE CONTINUE HANDLER FOR 1079 SET E='1079', M="%s: Shutdown complete";
DECLARE CONTINUE HANDLER FOR 1080 SET E='1080', M="%s: Forcing close of thread %ld user: '%s'";
DECLARE CONTINUE HANDLER FOR 1081 SET E='1081', M="Can't create IP socket";
DECLARE CONTINUE HANDLER FOR 1082 SET E='1082', M="Table '%s' has no index like the one used in CREATE INDEX; recreate the table";
DECLARE CONTINUE HANDLER FOR 1083 SET E='1083', M="Field separator argument is not what is expected; check the manual";
DECLARE CONTINUE HANDLER FOR 1084 SET E='1084', M="You can't use fixed rowlength with BLOBs; please use 'fields terminated by'";
DECLARE CONTINUE HANDLER FOR 1085 SET E='1085', M="The file '%s' must be in the database directory or be readable by all";
DECLARE CONTINUE HANDLER FOR 1086 SET E='1086', M="File '%s' already exists";
DECLARE CONTINUE HANDLER FOR 1087 SET E='1087', M="Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld";
DECLARE CONTINUE HANDLER FOR 1088 SET E='1088', M="Records: %ld Duplicates: %ld";
DECLARE CONTINUE HANDLER FOR 1089 SET E='1089', M="Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys";
DECLARE CONTINUE HANDLER FOR 1090 SET E='1090', M="You can't delete all columns with ALTER TABLE; use DROP TABLE instead";
DECLARE CONTINUE HANDLER FOR 1091 SET E='1091', M="Can't DROP '%s'; check that column/key exists";
DECLARE CONTINUE HANDLER FOR 1092 SET E='1092', M="Records: %ld Duplicates: %ld Warnings: %ld";
DECLARE CONTINUE HANDLER FOR 1093 SET E='1093', M="You can't specify target table '%s' for update in FROM clause";
DECLARE CONTINUE HANDLER FOR 1094 SET E='1094', M="Unknown thread id: %lu";
DECLARE CONTINUE HANDLER FOR 1095 SET E='1095', M="You are not owner of thread %lu";
DECLARE CONTINUE HANDLER FOR 1096 SET E='1096', M="No tables used";
DECLARE CONTINUE HANDLER FOR 1097 SET E='1097', M="Too many strings for column %s and SET";
DECLARE CONTINUE HANDLER FOR 1098 SET E='1098', M="Can't generate a unique log-filename %s.(1-999)";
DECLARE CONTINUE HANDLER FOR 1099 SET E='1099', M="Table '%s' was locked with a READ lock and can't be updated";
DECLARE CONTINUE HANDLER FOR 1100 SET E='1100', M="Table '%s' was not locked with LOCK TABLES";
DECLARE CONTINUE HANDLER FOR 1101 SET E='1101', M="BLOB/TEXT column '%s' can't have a default value";
DECLARE CONTINUE HANDLER FOR 1102 SET E='1102', M="Incorrect database name '%s'";
DECLARE CONTINUE HANDLER FOR 1103 SET E='1103', M="Incorrect table name '%s'";
DECLARE CONTINUE HANDLER FOR 1104 SET E='1104', M="The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay";
DECLARE CONTINUE HANDLER FOR 1105 SET E='1105', M="Unknown error";
DECLARE CONTINUE HANDLER FOR 1106 SET E='1106', M="Unknown procedure '%s'";
DECLARE CONTINUE HANDLER FOR 1107 SET E='1107', M="Incorrect parameter count to procedure '%s'";
DECLARE CONTINUE HANDLER FOR 1108 SET E='1108', M="Incorrect parameters to procedure '%s'";
DECLARE CONTINUE HANDLER FOR 1109 SET E='1109', M="Unknown table '%s' in %s";
DECLARE CONTINUE HANDLER FOR 1110 SET E='1110', M="Column '%s' specified twice";
DECLARE CONTINUE HANDLER FOR 1111 SET E='1111', M="Invalid use of group function";
DECLARE CONTINUE HANDLER FOR 1112 SET E='1112', M="Table '%s' uses an extension that doesn't exist in this MySQL version";
DECLARE CONTINUE HANDLER FOR 1113 SET E='1113', M="A table must have at least 1 column";
DECLARE CONTINUE HANDLER FOR 1114 SET E='1114', M="The table '%s' is full";
DECLARE CONTINUE HANDLER FOR 1115 SET E='1115', M="Unknown character set: '%s'";
DECLARE CONTINUE HANDLER FOR 1116 SET E='1116', M="Too many tables; MySQL can only use %d tables in a join";
DECLARE CONTINUE HANDLER FOR 1117 SET E='1117', M="Too many columns";
DECLARE CONTINUE HANDLER FOR 1118 SET E='1118', M="Row size too large. The maximum row size for the used table type, not counting BLOBs, is %ld. You have to change some columns to TEXT or BLOBs";
DECLARE CONTINUE HANDLER FOR 1119 SET E='1119', M="Thread stack overrun: Used: %ld of a %ld stack. Use 'mysqld -O thread_stack=#' to specify a bigger stack if needed";
DECLARE CONTINUE HANDLER FOR 1120 SET E='1120', M="Cross dependency found in OUTER JOIN; examine your ON conditions";
DECLARE CONTINUE HANDLER FOR 1121 SET E='1121', M="Table handler doesn't support NULL in given index. Please change column '%s' to be NOT NULL or use another handler";
DECLARE CONTINUE HANDLER FOR 1122 SET E='1122', M="Can't load function '%s'";
DECLARE CONTINUE HANDLER FOR 1123 SET E='1123', M="Can't initialize function '%s'; %s";
DECLARE CONTINUE HANDLER FOR 1124 SET E='1124', M="No paths allowed for shared library";
DECLARE CONTINUE HANDLER FOR 1125 SET E='1125', M="Function '%s' already exists";
DECLARE CONTINUE HANDLER FOR 1126 SET E='1126', M="Can't open shared library '%s' (errno: %d %s)";
DECLARE CONTINUE HANDLER FOR 1127 SET E='1127', M="Can't find symbol '%s' in library";
DECLARE CONTINUE HANDLER FOR 1128 SET E='1128', M="Function '%s' is not defined";
DECLARE CONTINUE HANDLER FOR 1129 SET E='1129', M="Host '%s' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'";
DECLARE CONTINUE HANDLER FOR 1130 SET E='1130', M="Host '%s' is not allowed to connect to this MySQL server";
DECLARE CONTINUE HANDLER FOR 1131 SET E='1131', M="You are using MySQL as an anonymous user and anonymous users are not allowed to change passwords";
DECLARE CONTINUE HANDLER FOR 1132 SET E='1132', M="You must have privileges to update tables in the mysql database to be able to change passwords for others";
DECLARE CONTINUE HANDLER FOR 1133 SET E='1133', M="Can't find any matching row in the user table";
DECLARE CONTINUE HANDLER FOR 1134 SET E='1134', M="Rows matched: %ld Changed: %ld Warnings: %ld";
DECLARE CONTINUE HANDLER FOR 1135 SET E='1135', M="Can't create a new thread (errno %d); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug";
DECLARE CONTINUE HANDLER FOR 1136 SET E='1136', M="Column count doesn't match value count at row %ld";
DECLARE CONTINUE HANDLER FOR 1137 SET E='1137', M="Can't reopen table: '%s'";
DECLARE CONTINUE HANDLER FOR 1138 SET E='1138', M="Invalid use of NULL value";
DECLARE CONTINUE HANDLER FOR 1139 SET E='1139', M="Got error '%s' from regexp";
DECLARE CONTINUE HANDLER FOR 1140 SET E='1140', M="Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause";
DECLARE CONTINUE HANDLER FOR 1141 SET E='1141', M="There is no such grant defined for user '%s' on host '%s'";
DECLARE CONTINUE HANDLER FOR 1142 SET E='1142', M="%s command denied to user '%s'@'%s' for table '%s'";
DECLARE CONTINUE HANDLER FOR 1143 SET E='1143', M="%s command denied to user '%s'@'%s' for column '%s' in table '%s'";
DECLARE CONTINUE HANDLER FOR 1144 SET E='1144', M="Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used";
DECLARE CONTINUE HANDLER FOR 1145 SET E='1145', M="The host or user argument to GRANT is too long";
DECLARE CONTINUE HANDLER FOR 1146 SET E='1146', M="Table '%s.%s' doesn't exist";
DECLARE CONTINUE HANDLER FOR 1147 SET E='1147', M="There is no such grant defined for user '%s' on host '%s' on table '%s'";
DECLARE CONTINUE HANDLER FOR 1148 SET E='1148', M="The used command is not allowed with this MySQL version";
DECLARE CONTINUE HANDLER FOR 1149 SET E='1149', M="You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use";
DECLARE CONTINUE HANDLER FOR 1150 SET E='1150', M="Delayed insert thread couldn't get requested lock for table %s";
DECLARE CONTINUE HANDLER FOR 1151 SET E='1151', M="Too many delayed threads in use";
DECLARE CONTINUE HANDLER FOR 1152 SET E='1152', M="Aborted connection %ld to db: '%s' user: '%s' (%s)";
DECLARE CONTINUE HANDLER FOR 1153 SET E='1153', M="Got a packet bigger than 'max_allowed_packet' bytes";
DECLARE CONTINUE HANDLER FOR 1154 SET E='1154', M="Got a read error from the connection pipe";
DECLARE CONTINUE HANDLER FOR 1155 SET E='1155', M="Got an error from fcntl()";
DECLARE CONTINUE HANDLER FOR 1156 SET E='1156', M="Got packets out of order";
DECLARE CONTINUE HANDLER FOR 1157 SET E='1157', M="Couldn't uncompress communication packet";
DECLARE CONTINUE HANDLER FOR 1158 SET E='1158', M="Got an error reading communication packets";
DECLARE CONTINUE HANDLER FOR 1159 SET E='1159', M="Got timeout reading communication packets";
DECLARE CONTINUE HANDLER FOR 1160 SET E='1160', M="Got an error writing communication packets";
DECLARE CONTINUE HANDLER FOR 1161 SET E='1161', M="Got timeout writing communication packets";
DECLARE CONTINUE HANDLER FOR 1162 SET E='1162', M="Result string is longer than 'max_allowed_packet' bytes";
DECLARE CONTINUE HANDLER FOR 1163 SET E='1163', M="The used table type doesn't support BLOB/TEXT columns";
DECLARE CONTINUE HANDLER FOR 1164 SET E='1164', M="The used table type doesn't support AUTO_INCREMENT columns";
DECLARE CONTINUE HANDLER FOR 1165 SET E='1165', M="INSERT DELAYED can't be used with table '%s' because it is locked with LOCK TABLES";
DECLARE CONTINUE HANDLER FOR 1166 SET E='1166', M="Incorrect column name '%s'";
DECLARE CONTINUE HANDLER FOR 1167 SET E='1167', M="The used storage engine can't index column '%s'";
DECLARE CONTINUE HANDLER FOR 1168 SET E='1168', M="Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist";
DECLARE CONTINUE HANDLER FOR 1169 SET E='1169', M="Can't write, because of unique constraint, to table '%s'";
DECLARE CONTINUE HANDLER FOR 1170 SET E='1170', M="BLOB/TEXT column '%s' used in key specification without a key length";
DECLARE CONTINUE HANDLER FOR 1171 SET E='1171', M="All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead";
DECLARE CONTINUE HANDLER FOR 1172 SET E='1172', M="Result consisted of more than one row";
DECLARE CONTINUE HANDLER FOR 1173 SET E='1173', M="This table type requires a primary key";
DECLARE CONTINUE HANDLER FOR 1174 SET E='1174', M="This version of MySQL is not compiled with RAID support";
DECLARE CONTINUE HANDLER FOR 1175 SET E='1175', M="You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column";
DECLARE CONTINUE HANDLER FOR 1176 SET E='1176', M="Key '%s' doesn't exist in table '%s'";
DECLARE CONTINUE HANDLER FOR 1177 SET E='1177', M="Can't open table";
DECLARE CONTINUE HANDLER FOR 1178 SET E='1178', M="The storage engine for the table doesn't support %s";
DECLARE CONTINUE HANDLER FOR 1179 SET E='1179', M="You are not allowed to execute this command in a transaction";
DECLARE CONTINUE HANDLER FOR 1180 SET E='1180', M="Got error %d during COMMIT";
DECLARE CONTINUE HANDLER FOR 1181 SET E='1181', M="Got error %d during ROLLBACK";
DECLARE CONTINUE HANDLER FOR 1182 SET E='1182', M="Got error %d during FLUSH_LOGS";
DECLARE CONTINUE HANDLER FOR 1183 SET E='1183', M="Got error %d during CHECKPOINT";
DECLARE CONTINUE HANDLER FOR 1184 SET E='1184', M="Aborted connection %ld to db: '%s' user: '%s' host: '%s' (%s)";
DECLARE CONTINUE HANDLER FOR 1185 SET E='1185', M="The storage engine for the table does not support binary table dump";
DECLARE CONTINUE HANDLER FOR 1186 SET E='1186', M="Binlog closed, cannot RESET MASTER";
DECLARE CONTINUE HANDLER FOR 1187 SET E='1187', M="Failed rebuilding the index of dumped table '%s'";
DECLARE CONTINUE HANDLER FOR 1188 SET E='1188', M="Error from master: '%s'";
DECLARE CONTINUE HANDLER FOR 1189 SET E='1189', M="Net error reading from master";
DECLARE CONTINUE HANDLER FOR 1190 SET E='1190', M="Net error writing to master";
DECLARE CONTINUE HANDLER FOR 1191 SET E='1191', M="Can't find FULLTEXT index matching the column list";
DECLARE CONTINUE HANDLER FOR 1192 SET E='1192', M="Can't execute the given command because you have active locked tables or an active transaction";
DECLARE CONTINUE HANDLER FOR 1193 SET E='1193', M="Unknown system variable '%s'";
DECLARE CONTINUE HANDLER FOR 1194 SET E='1194', M="Table '%s' is marked as crashed and should be repaired";
DECLARE CONTINUE HANDLER FOR 1195 SET E='1195', M="Table '%s' is marked as crashed and last (automatic?) repair failed";
DECLARE CONTINUE HANDLER FOR 1196 SET E='1196', M="Some non-transactional changed tables couldn't be rolled back";
DECLARE CONTINUE HANDLER FOR 1197 SET E='1197', M="Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again";
DECLARE CONTINUE HANDLER FOR 1198 SET E='1198', M="This operation cannot be performed with a running slave; run STOP SLAVE first";
DECLARE CONTINUE HANDLER FOR 1199 SET E='1199', M="This operation requires a running slave; configure slave and do START SLAVE";
DECLARE CONTINUE HANDLER FOR 1200 SET E='1200', M="The server is not configured as slave; fix in config file or with CHANGE MASTER TO";
DECLARE CONTINUE HANDLER FOR 1201 SET E='1201', M="Could not initialize master info structure; more error messages can be found in the MySQL error log";
DECLARE CONTINUE HANDLER FOR 1202 SET E='1202', M="Could not create slave thread; check system resources";
DECLARE CONTINUE HANDLER FOR 1203 SET E='1203', M="User %s already has more than 'max_user_connections' active connections";
DECLARE CONTINUE HANDLER FOR 1204 SET E='1204', M="You may only use constant expressions with SET";
DECLARE CONTINUE HANDLER FOR 1205 SET E='1205', M="Lock wait timeout exceeded; try restarting transaction";
DECLARE CONTINUE HANDLER FOR 1206 SET E='1206', M="The total number of locks exceeds the lock table size";
DECLARE CONTINUE HANDLER FOR 1207 SET E='1207', M="Update locks cannot be acquired during a READ UNCOMMITTED transaction";
DECLARE CONTINUE HANDLER FOR 1208 SET E='1208', M="DROP DATABASE not allowed while thread is holding global read lock";
DECLARE CONTINUE HANDLER FOR 1209 SET E='1209', M="CREATE DATABASE not allowed while thread is holding global read lock";
DECLARE CONTINUE HANDLER FOR 1210 SET E='1210', M="Incorrect arguments to %s";
DECLARE CONTINUE HANDLER FOR 1211 SET E='1211', M="'%s'@'%s' is not allowed to create new users";
DECLARE CONTINUE HANDLER FOR 1212 SET E='1212', M="Incorrect table definition; all MERGE tables must be in the same database";
DECLARE CONTINUE HANDLER FOR 1213 SET E='1213', M="Deadlock found when trying to get lock; try restarting transaction";
DECLARE CONTINUE HANDLER FOR 1214 SET E='1214', M="The used table type doesn't support FULLTEXT indexes";
DECLARE CONTINUE HANDLER FOR 1215 SET E='1215', M="Cannot add foreign key constraint";
DECLARE CONTINUE HANDLER FOR 1216 SET E='1216', M="Cannot add or update a child row: a foreign key constraint fails";
DECLARE CONTINUE HANDLER FOR 1217 SET E='1217', M="Cannot delete or update a parent row: a foreign key constraint fails";
DECLARE CONTINUE HANDLER FOR 1218 SET E='1218', M="Error connecting to master: %s";
DECLARE CONTINUE HANDLER FOR 1219 SET E='1219', M="Error running query on master: %s";
DECLARE CONTINUE HANDLER FOR 1220 SET E='1220', M="Error when executing command %s: %s";
DECLARE CONTINUE HANDLER FOR 1221 SET E='1221', M="Incorrect usage of %s and %s";
DECLARE CONTINUE HANDLER FOR 1222 SET E='1222', M="The used SELECT statements have a different number of columns";
DECLARE CONTINUE HANDLER FOR 1223 SET E='1223', M="Can't execute the query because you have a conflicting read lock";
DECLARE CONTINUE HANDLER FOR 1224 SET E='1224', M="Mixing of transactional and non-transactional tables is disabled";
DECLARE CONTINUE HANDLER FOR 1225 SET E='1225', M="Option '%s' used twice in statement";
DECLARE CONTINUE HANDLER FOR 1226 SET E='1226', M="User '%s' has exceeded the '%s' resource (current value: %ld)";
DECLARE CONTINUE HANDLER FOR 1227 SET E='1227', M="Access denied; you need the %s privilege for this operation";
DECLARE CONTINUE HANDLER FOR 1228 SET E='1228', M="Variable '%s' is a SESSION variable and can't be used with SET GLOBAL";
DECLARE CONTINUE HANDLER FOR 1229 SET E='1229', M="Variable '%s' is a GLOBAL variable and should be set with SET GLOBAL";
DECLARE CONTINUE HANDLER FOR 1230 SET E='1230', M="Variable '%s' doesn't have a default value";
DECLARE CONTINUE HANDLER FOR 1231 SET E='1231', M="Variable '%s' can't be set to the value of '%s'";
DECLARE CONTINUE HANDLER FOR 1232 SET E='1232', M="Incorrect argument type to variable '%s'";
DECLARE CONTINUE HANDLER FOR 1233 SET E='1233', M="Variable '%s' can only be set, not read";
DECLARE CONTINUE HANDLER FOR 1234 SET E='1234', M="Incorrect usage/placement of '%s'";
DECLARE CONTINUE HANDLER FOR 1235 SET E='1235', M="This version of MySQL doesn't yet support '%s'";
DECLARE CONTINUE HANDLER FOR 1236 SET E='1236', M="Got fatal error %d from master when reading data from binary log: '%s'";
DECLARE CONTINUE HANDLER FOR 1237 SET E='1237', M="Slave SQL thread ignored the query because of replicate-*-table rules";
DECLARE CONTINUE HANDLER FOR 1238 SET E='1238', M="Variable '%s' is a %s variable";
DECLARE CONTINUE HANDLER FOR 1239 SET E='1239', M="Incorrect foreign key definition for '%s': %s";
DECLARE CONTINUE HANDLER FOR 1240 SET E='1240', M="Key reference and table reference don't match";
DECLARE CONTINUE HANDLER FOR 1241 SET E='1241', M="Operand should contain %d column(s)";
DECLARE CONTINUE HANDLER FOR 1242 SET E='1242', M="Subquery returns more than 1 row";
DECLARE CONTINUE HANDLER FOR 1243 SET E='1243', M="Unknown prepared statement handler (%.*s) given to %s";
DECLARE CONTINUE HANDLER FOR 1244 SET E='1244', M="Help database is corrupt or does not exist";
DECLARE CONTINUE HANDLER FOR 1245 SET E='1245', M="Cyclic reference on subqueries";
DECLARE CONTINUE HANDLER FOR 1246 SET E='1246', M="Converting column '%s' from %s to %s";
DECLARE CONTINUE HANDLER FOR 1247 SET E='1247', M="Reference '%s' not supported (%s)";
DECLARE CONTINUE HANDLER FOR 1248 SET E='1248', M="Every derived table must have its own alias";
DECLARE CONTINUE HANDLER FOR 1249 SET E='1249', M="Select %u was reduced during optimization";
DECLARE CONTINUE HANDLER FOR 1250 SET E='1250', M="Table '%s' from one of the SELECTs cannot be used in %s";
DECLARE CONTINUE HANDLER FOR 1251 SET E='1251', M="Client does not support authentication protocol requested by server; consider upgrading MySQL client";
DECLARE CONTINUE HANDLER FOR 1252 SET E='1252', M="All parts of a SPATIAL index must be NOT NULL";
DECLARE CONTINUE HANDLER FOR 1253 SET E='1253', M="COLLATION '%s' is not valid for CHARACTER SET '%s'";
DECLARE CONTINUE HANDLER FOR 1254 SET E='1254', M="Slave is already running";
DECLARE CONTINUE HANDLER FOR 1255 SET E='1255', M="Slave already has been stopped";
DECLARE CONTINUE HANDLER FOR 1256 SET E='1256', M="Uncompressed data size too large; the maximum size is %d (probably, length of uncompressed data was corrupted)";
DECLARE CONTINUE HANDLER FOR 1257 SET E='1257', M="ZLIB: Not enough memory";
DECLARE CONTINUE HANDLER FOR 1258 SET E='1258', M="ZLIB: Not enough room in the output buffer (probably, length of uncompressed data was corrupted)";
DECLARE CONTINUE HANDLER FOR 1259 SET E='1259', M="ZLIB: Input data corrupted";
DECLARE CONTINUE HANDLER FOR 1260 SET E='1260', M="%d line(s) were cut by GROUP_CONCAT()";
DECLARE CONTINUE HANDLER FOR 1261 SET E='1261', M="Row %ld doesn't contain data for all columns";
DECLARE CONTINUE HANDLER FOR 1262 SET E='1262', M="Row %ld was truncated; it contained more data than there were input columns";
DECLARE CONTINUE HANDLER FOR 1263 SET E='1263', M="Column set to default value; NULL supplied to NOT NULL column '%s' at row %ld";
DECLARE CONTINUE HANDLER FOR 1264 SET E='1264', M="Out of range value for column '%s' at row %ld";
DECLARE CONTINUE HANDLER FOR 1265 SET E='1265', M="Data truncated for column '%s' at row %ld";
DECLARE CONTINUE HANDLER FOR 1266 SET E='1266', M="Using storage engine %s for table '%s'";
DECLARE CONTINUE HANDLER FOR 1267 SET E='1267', M="Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'";
DECLARE CONTINUE HANDLER FOR 1268 SET E='1268', M="Cannot drop one or more of the requested users";
DECLARE CONTINUE HANDLER FOR 1269 SET E='1269', M="Can't revoke all privileges for one or more of the requested users";
DECLARE CONTINUE HANDLER FOR 1270 SET E='1270', M="Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'";
DECLARE CONTINUE HANDLER FOR 1271 SET E='1271', M="Illegal mix of collations for operation '%s'";
DECLARE CONTINUE HANDLER FOR 1272 SET E='1272', M="Variable '%s' is not a variable component (can't be used as XXXX.variable_name)";
DECLARE CONTINUE HANDLER FOR 1273 SET E='1273', M="Unknown collation: '%s'";
DECLARE CONTINUE HANDLER FOR 1274 SET E='1274', M="SSL parameters in CHANGE MASTER are ignored because this MySQL slave was compiled without SSL support; they can be used later if MySQL slave with SSL is started";
DECLARE CONTINUE HANDLER FOR 1275 SET E='1275', M="Server is running in --secure-auth mode, but '%s'@'%s' has a password in the old format; please change the password to the new format";
DECLARE CONTINUE HANDLER FOR 1276 SET E='1276', M="Field or reference '%s%s%s%s%s' of SELECT #%d was resolved in SELECT #%d";
DECLARE CONTINUE HANDLER FOR 1277 SET E='1277', M="Incorrect parameter or combination of parameters for START SLAVE UNTIL";
DECLARE CONTINUE HANDLER FOR 1278 SET E='1278', M="It is recommended to use --skip-slave-start when doing step-by-step replication with START SLAVE UNTIL; otherwise, you will get problems if you get an unexpected slave's mysqld restart";
DECLARE CONTINUE HANDLER FOR 1279 SET E='1279', M="SQL thread is not to be started so UNTIL options are ignored";
DECLARE CONTINUE HANDLER FOR 1280 SET E='1280', M="Incorrect index name '%s'";
DECLARE CONTINUE HANDLER FOR 1281 SET E='1281', M="Incorrect catalog name '%s'";
DECLARE CONTINUE HANDLER FOR 1282 SET E='1282', M="Query cache failed to set size %lu; new query cache size is %lu";
DECLARE CONTINUE HANDLER FOR 1283 SET E='1283', M="Column '%s' cannot be part of FULLTEXT index";
DECLARE CONTINUE HANDLER FOR 1284 SET E='1284', M="Unknown key cache '%s'";
DECLARE CONTINUE HANDLER FOR 1285 SET E='1285', M="MySQL is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work";
DECLARE CONTINUE HANDLER FOR 1286 SET E='1286', M="Unknown table engine '%s'";
DECLARE CONTINUE HANDLER FOR 1287 SET E='1287', M="'%s' is deprecated and will be removed in a future release. Please use %s instead";
DECLARE CONTINUE HANDLER FOR 1288 SET E='1288', M="The target table %s of the %s is not updatable";
DECLARE CONTINUE HANDLER FOR 1289 SET E='1289', M="The '%s' feature is disabled; you need MySQL built with '%s' to have it working";
DECLARE CONTINUE HANDLER FOR 1290 SET E='1290', M="The MySQL server is running with the %s option so it cannot execute this statement";
DECLARE CONTINUE HANDLER FOR 1291 SET E='1291', M="Column '%s' has duplicated value '%s' in %s";
DECLARE CONTINUE HANDLER FOR 1292 SET E='1292', M="Truncated incorrect %s value: '%s'";
DECLARE CONTINUE HANDLER FOR 1293 SET E='1293', M="Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause";
DECLARE CONTINUE HANDLER FOR 1294 SET E='1294', M="Invalid ON UPDATE clause for '%s' column";
DECLARE CONTINUE HANDLER FOR 1295 SET E='1295', M="This command is not supported in the prepared statement protocol yet";
DECLARE CONTINUE HANDLER FOR 1296 SET E='1296', M="Got error %d '%s' from %s";
DECLARE CONTINUE HANDLER FOR 1297 SET E='1297', M="Got temporary error %d '%s' from %s";
DECLARE CONTINUE HANDLER FOR 1298 SET E='1298', M="Unknown or incorrect time zone: '%s'";
DECLARE CONTINUE HANDLER FOR 1299 SET E='1299', M="Invalid TIMESTAMP value in column '%s' at row %ld";
DECLARE CONTINUE HANDLER FOR 1300 SET E='1300', M="Invalid %s character string: '%s'";
DECLARE CONTINUE HANDLER FOR 1301 SET E='1301', M="Result of %s() was larger than max_allowed_packet (%ld) - truncated";
DECLARE CONTINUE HANDLER FOR 1302 SET E='1302', M="Conflicting declarations: '%s%s' and '%s%s'";
DECLARE CONTINUE HANDLER FOR 1303 SET E='1303', M="Can't create a %s from within another stored routine";
DECLARE CONTINUE HANDLER FOR 1304 SET E='1304', M="%s %s already exists";
DECLARE CONTINUE HANDLER FOR 1305 SET E='1305', M="%s %s does not exist";
DECLARE CONTINUE HANDLER FOR 1306 SET E='1306', M="Failed to DROP %s %s";
DECLARE CONTINUE HANDLER FOR 1307 SET E='1307', M="Failed to CREATE %s %s";
DECLARE CONTINUE HANDLER FOR 1308 SET E='1308', M="%s with no matching label: %s";
DECLARE CONTINUE HANDLER FOR 1309 SET E='1309', M="Redefining label %s";
DECLARE CONTINUE HANDLER FOR 1310 SET E='1310', M="End-label %s without match";
DECLARE CONTINUE HANDLER FOR 1311 SET E='1311', M="Referring to uninitialized variable %s";
DECLARE CONTINUE HANDLER FOR 1312 SET E='1312', M="PROCEDURE %s can't return a result set in the given context";
DECLARE CONTINUE HANDLER FOR 1313 SET E='1313', M="RETURN is only allowed in a FUNCTION";
DECLARE CONTINUE HANDLER FOR 1314 SET E='1314', M="%s is not allowed in stored procedures";
DECLARE CONTINUE HANDLER FOR 1315 SET E='1315', M="The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored. This option will be removed in MySQL 5.6.";
DECLARE CONTINUE HANDLER FOR 1316 SET E='1316', M="The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN. This option will be removed in MySQL 5.6.";
DECLARE CONTINUE HANDLER FOR 1317 SET E='1317', M="Query execution was interrupted";
DECLARE CONTINUE HANDLER FOR 1318 SET E='1318', M="Incorrect number of arguments for %s %s; expected %u, got %u";
DECLARE CONTINUE HANDLER FOR 1319 SET E='1319', M="Undefined CONDITION: %s";
DECLARE CONTINUE HANDLER FOR 1320 SET E='1320', M="No RETURN found in FUNCTION %s";
DECLARE CONTINUE HANDLER FOR 1321 SET E='1321', M="FUNCTION %s ended without RETURN";
DECLARE CONTINUE HANDLER FOR 1322 SET E='1322', M="Cursor statement must be a SELECT";
DECLARE CONTINUE HANDLER FOR 1323 SET E='1323', M="Cursor SELECT must not have INTO";
DECLARE CONTINUE HANDLER FOR 1324 SET E='1324', M="Undefined CURSOR: %s";
DECLARE CONTINUE HANDLER FOR 1325 SET E='1325', M="Cursor is already open";
DECLARE CONTINUE HANDLER FOR 1326 SET E='1326', M="Cursor is not open";
DECLARE CONTINUE HANDLER FOR 1327 SET E='1327', M="Undeclared variable: %s";
DECLARE CONTINUE HANDLER FOR 1328 SET E='1328', M="Incorrect number of FETCH variables";
DECLARE CONTINUE HANDLER FOR 1329 SET E='1329', M="No data - zero rows fetched, selected, or processed";
DECLARE CONTINUE HANDLER FOR 1330 SET E='1330', M="Duplicate parameter: %s";
DECLARE CONTINUE HANDLER FOR 1331 SET E='1331', M="Duplicate variable: %s";
DECLARE CONTINUE HANDLER FOR 1332 SET E='1332', M="Duplicate condition: %s";
DECLARE CONTINUE HANDLER FOR 1333 SET E='1333', M="Duplicate cursor: %s";
DECLARE CONTINUE HANDLER FOR 1334 SET E='1334', M="Failed to ALTER %s %s";
DECLARE CONTINUE HANDLER FOR 1335 SET E='1335', M="Subquery value not supported";
DECLARE CONTINUE HANDLER FOR 1336 SET E='1336', M="%s is not allowed in stored function or trigger";
DECLARE CONTINUE HANDLER FOR 1337 SET E='1337', M="Variable or condition declaration after cursor or handler declaration";
DECLARE CONTINUE HANDLER FOR 1338 SET E='1338', M="Cursor declaration after handler declaration";
DECLARE CONTINUE HANDLER FOR 1339 SET E='1339', M="Case not found for CASE statement";
DECLARE CONTINUE HANDLER FOR 1340 SET E='1340', M="Configuration file '%s' is too big";
DECLARE CONTINUE HANDLER FOR 1341 SET E='1341', M="Malformed file type header in file '%s'";
DECLARE CONTINUE HANDLER FOR 1342 SET E='1342', M="Unexpected end of file while parsing comment '%s'";
DECLARE CONTINUE HANDLER FOR 1343 SET E='1343', M="Error while parsing parameter '%s' (line: '%s')";
DECLARE CONTINUE HANDLER FOR 1344 SET E='1344', M="Unexpected end of file while skipping unknown parameter '%s'";
DECLARE CONTINUE HANDLER FOR 1345 SET E='1345', M="EXPLAIN/SHOW can not be issued; lacking privileges for underlying table";
DECLARE CONTINUE HANDLER FOR 1346 SET E='1346', M="File '%s' has unknown type '%s' in its header";
DECLARE CONTINUE HANDLER FOR 1347 SET E='1347', M="'%s.%s' is not %s";
DECLARE CONTINUE HANDLER FOR 1348 SET E='1348', M="Column '%s' is not updatable";
DECLARE CONTINUE HANDLER FOR 1349 SET E='1349', M="View's SELECT contains a subquery in the FROM clause";
DECLARE CONTINUE HANDLER FOR 1350 SET E='1350', M="View's SELECT contains a '%s' clause";
DECLARE CONTINUE HANDLER FOR 1351 SET E='1351', M="View's SELECT contains a variable or parameter";
DECLARE CONTINUE HANDLER FOR 1352 SET E='1352', M="View's SELECT refers to a temporary table '%s'";
DECLARE CONTINUE HANDLER FOR 1353 SET E='1353', M="View's SELECT and view's field list have different column counts";
DECLARE CONTINUE HANDLER FOR 1354 SET E='1354', M="View merge algorithm can't be used here for now (assumed undefined algorithm)";
DECLARE CONTINUE HANDLER FOR 1355 SET E='1355', M="View being updated does not have complete key of underlying table in it";
DECLARE CONTINUE HANDLER FOR 1356 SET E='1356', M="View '%s.%s' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them";
DECLARE CONTINUE HANDLER FOR 1357 SET E='1357', M="Can't drop or alter a %s from within another stored routine";
DECLARE CONTINUE HANDLER FOR 1358 SET E='1358', M="GOTO is not allowed in a stored procedure handler";
DECLARE CONTINUE HANDLER FOR 1359 SET E='1359', M="Trigger already exists";
DECLARE CONTINUE HANDLER FOR 1360 SET E='1360', M="Trigger does not exist";
DECLARE CONTINUE HANDLER FOR 1361 SET E='1361', M="Trigger's '%s' is view or temporary table";
DECLARE CONTINUE HANDLER FOR 1362 SET E='1362', M="Updating of %s row is not allowed in %strigger";
DECLARE CONTINUE HANDLER FOR 1363 SET E='1363', M="There is no %s row in %s trigger";
DECLARE CONTINUE HANDLER FOR 1364 SET E='1364', M="Field '%s' doesn't have a default value";
DECLARE CONTINUE HANDLER FOR 1365 SET E='1365', M="Division by 0";
DECLARE CONTINUE HANDLER FOR 1366 SET E='1366', M="Incorrect %s value: '%s' for column '%s' at row %ld";
DECLARE CONTINUE HANDLER FOR 1367 SET E='1367', M="Illegal %s '%s' value found during parsing";
DECLARE CONTINUE HANDLER FOR 1368 SET E='1368', M="CHECK OPTION on non-updatable view '%s.%s'";
DECLARE CONTINUE HANDLER FOR 1369 SET E='1369', M="CHECK OPTION failed '%s.%s'";
DECLARE CONTINUE HANDLER FOR 1370 SET E='1370', M="%s command denied to user '%s'@'%s' for routine '%s'";
DECLARE CONTINUE HANDLER FOR 1371 SET E='1371', M="Failed purging old relay logs: %s";
DECLARE CONTINUE HANDLER FOR 1372 SET E='1372', M="Password hash should be a %d-digit hexadecimal number";
DECLARE CONTINUE HANDLER FOR 1373 SET E='1373', M="Target log not found in binlog index";
DECLARE CONTINUE HANDLER FOR 1374 SET E='1374', M="I/O error reading log index file";
DECLARE CONTINUE HANDLER FOR 1375 SET E='1375', M="Server configuration does not permit binlog purge";
DECLARE CONTINUE HANDLER FOR 1376 SET E='1376', M="Failed on fseek()";
DECLARE CONTINUE HANDLER FOR 1377 SET E='1377', M="Fatal error during log purge";
DECLARE CONTINUE HANDLER FOR 1378 SET E='1378', M="A purgeable log is in use, will not purge";
DECLARE CONTINUE HANDLER FOR 1379 SET E='1379', M="Unknown error during log purge";
DECLARE CONTINUE HANDLER FOR 1380 SET E='1380', M="Failed initializing relay log position: %s";
DECLARE CONTINUE HANDLER FOR 1381 SET E='1381', M="You are not using binary logging";
DECLARE CONTINUE HANDLER FOR 1382 SET E='1382', M="The '%s' syntax is reserved for purposes internal to the MySQL server";
DECLARE CONTINUE HANDLER FOR 1383 SET E='1383', M="WSAStartup Failed";
DECLARE CONTINUE HANDLER FOR 1384 SET E='1384', M="Can't handle procedures with different groups yet";
DECLARE CONTINUE HANDLER FOR 1385 SET E='1385', M="Select must have a group with this procedure";
DECLARE CONTINUE HANDLER FOR 1386 SET E='1386', M="Can't use ORDER clause with this procedure";
DECLARE CONTINUE HANDLER FOR 1387 SET E='1387', M="Binary logging and replication forbid changing the global server %s";
DECLARE CONTINUE HANDLER FOR 1388 SET E='1388', M="Can't map file: %s, errno: %d";
DECLARE CONTINUE HANDLER FOR 1389 SET E='1389', M="Wrong magic in %s";
DECLARE CONTINUE HANDLER FOR 1390 SET E='1390', M="Prepared statement contains too many placeholders";
DECLARE CONTINUE HANDLER FOR 1391 SET E='1391', M="Key part '%s' length cannot be 0";
DECLARE CONTINUE HANDLER FOR 1392 SET E='1392', M="View text checksum failed";
DECLARE CONTINUE HANDLER FOR 1393 SET E='1393', M="Can not modify more than one base table through a join view '%s.%s'";
DECLARE CONTINUE HANDLER FOR 1394 SET E='1394', M="Can not insert into join view '%s.%s' without fields list";
DECLARE CONTINUE HANDLER FOR 1395 SET E='1395', M="Can not delete from join view '%s.%s'";
DECLARE CONTINUE HANDLER FOR 1396 SET E='1396', M="Operation %s failed for %s";
DECLARE CONTINUE HANDLER FOR 1397 SET E='1397', M="XAER_NOTA: Unknown XID";
DECLARE CONTINUE HANDLER FOR 1398 SET E='1398', M="XAER_INVAL: Invalid arguments (or unsupported command)";
DECLARE CONTINUE HANDLER FOR 1399 SET E='1399', M="XAER_RMFAIL: The command cannot be executed when global transaction is in the %s state";
DECLARE CONTINUE HANDLER FOR 1400 SET E='1400', M="XAER_OUTSIDE: Some work is done outside global transaction";
DECLARE CONTINUE HANDLER FOR 1401 SET E='1401', M="XAER_RMERR: Fatal error occurred in the transaction branch - check your data for consistency";
DECLARE CONTINUE HANDLER FOR 1402 SET E='1402', M="XA_RBROLLBACK: Transaction branch was rolled back";
DECLARE CONTINUE HANDLER FOR 1403 SET E='1403', M="There is no such grant defined for user '%s' on host '%s' on routine '%s'";
DECLARE CONTINUE HANDLER FOR 1404 SET E='1404', M="Failed to grant EXECUTE and ALTER ROUTINE privileges";
DECLARE CONTINUE HANDLER FOR 1405 SET E='1405', M="Failed to revoke all privileges to dropped routine";
DECLARE CONTINUE HANDLER FOR 1406 SET E='1406', M="Data too long for column '%s' at row %ld";
DECLARE CONTINUE HANDLER FOR 1407 SET E='1407', M="Bad SQLSTATE: '%s'";
DECLARE CONTINUE HANDLER FOR 1408 SET E='1408', M="%s: ready for connections. Version: '%s' socket: '%s' port: %d %s";
DECLARE CONTINUE HANDLER FOR 1409 SET E='1409', M="Can't load value from file with fixed size rows to variable";
DECLARE CONTINUE HANDLER FOR 1410 SET E='1410', M="You are not allowed to create a user with GRANT";
DECLARE CONTINUE HANDLER FOR 1411 SET E='1411', M="Incorrect %s value: '%s' for function %s";
DECLARE CONTINUE HANDLER FOR 1412 SET E='1412', M="Table definition has changed, please retry transaction";
DECLARE CONTINUE HANDLER FOR 1413 SET E='1413', M="Duplicate handler declared in the same block";
DECLARE CONTINUE HANDLER FOR 1414 SET E='1414', M="OUT or INOUT argument %d for routine %s is not a variable or NEW pseudo-variable in BEFORE trigger";
DECLARE CONTINUE HANDLER FOR 1415 SET E='1415', M="Not allowed to return a result set from a %s";
DECLARE CONTINUE HANDLER FOR 1416 SET E='1416', M="Cannot get geometry object from data you send to the GEOMETRY field";
DECLARE CONTINUE HANDLER FOR 1417 SET E='1417', M="A routine failed and has neither NO SQL nor READS SQL DATA in its declaration and binary logging is enabled; if non-transactional tables were updated, the binary log will miss their changes";
DECLARE CONTINUE HANDLER FOR 1418 SET E='1418', M="This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)";
DECLARE CONTINUE HANDLER FOR 1419 SET E='1419', M="You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)";
DECLARE CONTINUE HANDLER FOR 1420 SET E='1420', M="You can't execute a prepared statement which has an open cursor associated with it. Reset the statement to re-execute it.";
DECLARE CONTINUE HANDLER FOR 1421 SET E='1421', M="The statement (%lu) has no open cursor.";
DECLARE CONTINUE HANDLER FOR 1422 SET E='1422', M="Explicit or implicit commit is not allowed in stored function or trigger.";
DECLARE CONTINUE HANDLER FOR 1423 SET E='1423', M="Field of view '%s.%s' underlying table doesn't have a default value";
DECLARE CONTINUE HANDLER FOR 1424 SET E='1424', M="Recursive stored functions and triggers are not allowed.";
DECLARE CONTINUE HANDLER FOR 1425 SET E='1425', M="Too big scale %d specified for column '%s'. Maximum is %lu.";
DECLARE CONTINUE HANDLER FOR 1426 SET E='1426', M="Too big precision %d specified for column '%s'. Maximum is %lu.";
DECLARE CONTINUE HANDLER FOR 1427 SET E='1427', M="For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '%s').";
DECLARE CONTINUE HANDLER FOR 1428 SET E='1428', M="You can't combine write-locking of system tables with other tables or lock types";
DECLARE CONTINUE HANDLER FOR 1429 SET E='1429', M="Unable to connect to foreign data source: %s";
DECLARE CONTINUE HANDLER FOR 1430 SET E='1430', M="There was a problem processing the query on the foreign data source. Data source error: %s";
DECLARE CONTINUE HANDLER FOR 1431 SET E='1431', M="The foreign data source you are trying to reference does not exist. Data source error: %s";
DECLARE CONTINUE HANDLER FOR 1432 SET E='1432', M="Can't create federated table. The data source connection string '%s' is not in the correct format";
DECLARE CONTINUE HANDLER FOR 1433 SET E='1433', M="The data source connection string '%s' is not in the correct format";
DECLARE CONTINUE HANDLER FOR 1434 SET E='1434', M="Can't create federated table. Foreign data src error: %s";
DECLARE CONTINUE HANDLER FOR 1435 SET E='1435', M="Trigger in wrong schema";
DECLARE CONTINUE HANDLER FOR 1436 SET E='1436', M="Thread stack overrun: %ld bytes used of a %ld byte stack, and %ld bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.";
DECLARE CONTINUE HANDLER FOR 1437 SET E='1437', M="Routine body for '%s' is too long";
DECLARE CONTINUE HANDLER FOR 1438 SET E='1438', M="Cannot drop default keycache";
DECLARE CONTINUE HANDLER FOR 1439 SET E='1439', M="Display width out of range for column '%s' (max = %lu)";
DECLARE CONTINUE HANDLER FOR 1440 SET E='1440', M="XAER_DUPID: The XID already exists";
DECLARE CONTINUE HANDLER FOR 1441 SET E='1441', M="Datetime function: %s field overflow";
DECLARE CONTINUE HANDLER FOR 1442 SET E='1442', M="Can't update table '%s' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.";
DECLARE CONTINUE HANDLER FOR 1443 SET E='1443', M="The definition of table '%s' prevents operation %s on table '%s'.";
DECLARE CONTINUE HANDLER FOR 1444 SET E='1444', M="The prepared statement contains a stored routine call that refers to that same statement. It's not allowed to execute a prepared statement in such a recursive manner";
DECLARE CONTINUE HANDLER FOR 1445 SET E='1445', M="Not allowed to set autocommit from a stored function or trigger";
DECLARE CONTINUE HANDLER FOR 1446 SET E='1446', M="Definer is not fully qualified";
DECLARE CONTINUE HANDLER FOR 1447 SET E='1447', M="View '%s'.'%s' has no definer information (old table format). Current user is used as definer. Please recreate the view!";
DECLARE CONTINUE HANDLER FOR 1448 SET E='1448', M="You need the SUPER privilege for creation view with '%s'@'%s' definer";
DECLARE CONTINUE HANDLER FOR 1449 SET E='1449', M="The user specified as a definer ('%s'@'%s') does not exist";
DECLARE CONTINUE HANDLER FOR 1450 SET E='1450', M="Changing schema from '%s' to '%s' is not allowed.";
DECLARE CONTINUE HANDLER FOR 1451 SET E='1451', M="Cannot delete or update a parent row: a foreign key constraint fails (%s)";
DECLARE CONTINUE HANDLER FOR 1452 SET E='1452', M="Cannot add or update a child row: a foreign key constraint fails (%s)";
DECLARE CONTINUE HANDLER FOR 1453 SET E='1453', M="Variable '%s' must be quoted with `...`, or renamed";
DECLARE CONTINUE HANDLER FOR 1454 SET E='1454', M="No definer attribute for trigger '%s'.'%s'. The trigger will be activated under the authorization of the invoker, which may have insufficient privileges. Please recreate the trigger.";
DECLARE CONTINUE HANDLER FOR 1455 SET E='1455', M="'%s' has an old format, you should re-create the '%s' object(s)";
DECLARE CONTINUE HANDLER FOR 1456 SET E='1456', M="Recursive limit %d (as set by the max_sp_recursion_depth variable) was exceeded for routine %s";
DECLARE CONTINUE HANDLER FOR 1457 SET E='1457', M="Failed to load routine %s. The table mysql.proc is missing, corrupt, or contains bad data (internal code %d)";
DECLARE CONTINUE HANDLER FOR 1458 SET E='1458', M="Incorrect routine name '%s'";
DECLARE CONTINUE HANDLER FOR 1459 SET E='1459', M="Table upgrade required. Please do 'REPAIR TABLE `%s`' or dump/reload to fix it!";
DECLARE CONTINUE HANDLER FOR 1460 SET E='1460', M="AGGREGATE is not supported for stored functions";
DECLARE CONTINUE HANDLER FOR 1461 SET E='1461', M="Can't create more than max_prepared_stmt_count statements (current value: %lu)";
DECLARE CONTINUE HANDLER FOR 1462 SET E='1462', M="`%s`.`%s` contains view recursion";
DECLARE CONTINUE HANDLER FOR 1463 SET E='1463', M="non-grouping field '%s' is used in %s clause";
DECLARE CONTINUE HANDLER FOR 1464 SET E='1464', M="The used table type doesn't support SPATIAL indexes";
DECLARE CONTINUE HANDLER FOR 1465 SET E='1465', M="Triggers can not be created on system tables";
DECLARE CONTINUE HANDLER FOR 1466 SET E='1466', M="Leading spaces are removed from name '%s'";
DECLARE CONTINUE HANDLER FOR 1467 SET E='1467', M="Failed to read auto-increment value from storage engine";
DECLARE CONTINUE HANDLER FOR 1468 SET E='1468', M="user name";
DECLARE CONTINUE HANDLER FOR 1469 SET E='1469', M="host name";
DECLARE CONTINUE HANDLER FOR 1470 SET E='1470', M="String '%s' is too long for %s (should be no longer than %d)";
DECLARE CONTINUE HANDLER FOR 1471 SET E='1471', M="The target table %s of the %s is not insertable-into";
DECLARE CONTINUE HANDLER FOR 1472 SET E='1472', M="Table '%s' is differently defined or of non-MyISAM type or doesn't exist";
DECLARE CONTINUE HANDLER FOR 1473 SET E='1473', M="Too high level of nesting for select";
DECLARE CONTINUE HANDLER FOR 1474 SET E='1474', M="Name '%s' has become ''";
DECLARE CONTINUE HANDLER FOR 1475 SET E='1475', M="First character of the FIELDS TERMINATED string is ambiguous; please use non-optional and non-empty FIELDS ENCLOSED BY";
DECLARE CONTINUE HANDLER FOR 1476 SET E='1476', M="The foreign server, %s, you are trying to create already exists.";
DECLARE CONTINUE HANDLER FOR 1477 SET E='1477', M="The foreign server name you are trying to reference does not exist. Data source error: %s";
DECLARE CONTINUE HANDLER FOR 1478 SET E='1478', M="Table storage engine '%s' does not support the create option '%s'";
DECLARE CONTINUE HANDLER FOR 1479 SET E='1479', M="Syntax error: %s PARTITIONING requires definition of VALUES %s for each partition";
DECLARE CONTINUE HANDLER FOR 1480 SET E='1480', M="Only %s PARTITIONING can use VALUES %s in partition definition";
DECLARE CONTINUE HANDLER FOR 1481 SET E='1481', M="MAXVALUE can only be used in last partition definition";
DECLARE CONTINUE HANDLER FOR 1482 SET E='1482', M="Subpartitions can only be hash partitions and by key";
DECLARE CONTINUE HANDLER FOR 1483 SET E='1483', M="Must define subpartitions on all partitions if on one partition";
DECLARE CONTINUE HANDLER FOR 1484 SET E='1484', M="Wrong number of partitions defined, mismatch with previous setting";
DECLARE CONTINUE HANDLER FOR 1485 SET E='1485', M="Wrong number of subpartitions defined, mismatch with previous setting";
DECLARE CONTINUE HANDLER FOR 1486 SET E='1486', M="Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed";
DECLARE CONTINUE HANDLER FOR 1487 SET E='1487', M="Expression in RANGE/LIST VALUES must be constant";
DECLARE CONTINUE HANDLER FOR 1488 SET E='1488', M="Field in list of fields for partition function not found in table";
DECLARE CONTINUE HANDLER FOR 1489 SET E='1489', M="List of fields is only allowed in KEY partitions";
DECLARE CONTINUE HANDLER FOR 1490 SET E='1490', M="The partition info in the frm file is not consistent with what can be written into the frm file";
DECLARE CONTINUE HANDLER FOR 1491 SET E='1491', M="The %s function returns the wrong type";
DECLARE CONTINUE HANDLER FOR 1492 SET E='1492', M="For %s partitions each partition must be defined";
DECLARE CONTINUE HANDLER FOR 1493 SET E='1493', M="VALUES LESS THAN value must be strictly increasing for each partition";
DECLARE CONTINUE HANDLER FOR 1494 SET E='1494', M="VALUES value must be of same type as partition function";
DECLARE CONTINUE HANDLER FOR 1495 SET E='1495', M="Multiple definition of same constant in list partitioning";
DECLARE CONTINUE HANDLER FOR 1496 SET E='1496', M="Partitioning can not be used stand-alone in query";
DECLARE CONTINUE HANDLER FOR 1497 SET E='1497', M="The mix of handlers in the partitions is not allowed in this version of MySQL";
DECLARE CONTINUE HANDLER FOR 1498 SET E='1498', M="For the partitioned engine it is necessary to define all %s";
DECLARE CONTINUE HANDLER FOR 1499 SET E='1499', M="Too many partitions (including subpartitions) were defined";
DECLARE CONTINUE HANDLER FOR 1500 SET E='1500', M="It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning";
DECLARE CONTINUE HANDLER FOR 1501 SET E='1501', M="Failed to create specific handler file";
DECLARE CONTINUE HANDLER FOR 1502 SET E='1502', M="A BLOB field is not allowed in partition function";
DECLARE CONTINUE HANDLER FOR 1503 SET E='1503', M="A %s must include all columns in the table's partitioning function";
DECLARE CONTINUE HANDLER FOR 1504 SET E='1504', M="Number of %s = 0 is not an allowed value";
DECLARE CONTINUE HANDLER FOR 1505 SET E='1505', M="Partition management on a not partitioned table is not possible";
DECLARE CONTINUE HANDLER FOR 1506 SET E='1506', M="Foreign key clause is not yet supported in conjunction with partitioning";
DECLARE CONTINUE HANDLER FOR 1507 SET E='1507', M="Error in list of partitions to %s";
DECLARE CONTINUE HANDLER FOR 1508 SET E='1508', M="Cannot remove all partitions, use DROP TABLE instead";
DECLARE CONTINUE HANDLER FOR 1509 SET E='1509', M="COALESCE PARTITION can only be used on HASH/KEY partitions";
DECLARE CONTINUE HANDLER FOR 1510 SET E='1510', M="REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers";
DECLARE CONTINUE HANDLER FOR 1511 SET E='1511', M="REORGANIZE PARTITION without parameters can only be used on auto-partitioned tables using HASH PARTITIONs";
DECLARE CONTINUE HANDLER FOR 1512 SET E='1512', M="%s PARTITION can only be used on RANGE/LIST partitions";
DECLARE CONTINUE HANDLER FOR 1513 SET E='1513', M="Trying to Add partition(s) with wrong number of subpartitions";
DECLARE CONTINUE HANDLER FOR 1514 SET E='1514', M="At least one partition must be added";
DECLARE CONTINUE HANDLER FOR 1515 SET E='1515', M="At least one partition must be coalesced";
DECLARE CONTINUE HANDLER FOR 1516 SET E='1516', M="More partitions to reorganize than there are partitions";
DECLARE CONTINUE HANDLER FOR 1517 SET E='1517', M="Duplicate partition name %s";
DECLARE CONTINUE HANDLER FOR 1518 SET E='1518', M="It is not allowed to shut off binlog on this command";
DECLARE CONTINUE HANDLER FOR 1519 SET E='1519', M="When reorganizing a set of partitions they must be in consecutive order";
DECLARE CONTINUE HANDLER FOR 1520 SET E='1520', M="Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range";
DECLARE CONTINUE HANDLER FOR 1521 SET E='1521', M="Partition function not supported in this version for this handler";
DECLARE CONTINUE HANDLER FOR 1522 SET E='1522', M="Partition state cannot be defined from CREATE/ALTER TABLE";
DECLARE CONTINUE HANDLER FOR 1523 SET E='1523', M="The %s handler only supports 32 bit integers in VALUES";
DECLARE CONTINUE HANDLER FOR 1524 SET E='1524', M="Plugin '%s' is not loaded";
DECLARE CONTINUE HANDLER FOR 1525 SET E='1525', M="Incorrect %s value: '%s'";
DECLARE CONTINUE HANDLER FOR 1526 SET E='1526', M="Table has no partition for value %s";
DECLARE CONTINUE HANDLER FOR 1527 SET E='1527', M="It is not allowed to specify %s more than once";
DECLARE CONTINUE HANDLER FOR 1528 SET E='1528', M="Failed to create %s";
DECLARE CONTINUE HANDLER FOR 1529 SET E='1529', M="Failed to drop %s";
DECLARE CONTINUE HANDLER FOR 1530 SET E='1530', M="The handler doesn't support autoextend of tablespaces";
DECLARE CONTINUE HANDLER FOR 1531 SET E='1531', M="A size parameter was incorrectly specified, either number or on the form 10M";
DECLARE CONTINUE HANDLER FOR 1532 SET E='1532', M="The size number was correct but we don't allow the digit part to be more than 2 billion";
DECLARE CONTINUE HANDLER FOR 1533 SET E='1533', M="Failed to alter: %s";
DECLARE CONTINUE HANDLER FOR 1534 SET E='1534', M="Writing one row to the row-based binary log failed";
DECLARE CONTINUE HANDLER FOR 1535 SET E='1535', M="Table definition on master and slave does not match: %s";
DECLARE CONTINUE HANDLER FOR 1536 SET E='1536', M="Slave running with --log-slave-updates must use row-based binary logging to be able to replicate row-based binary log events";
DECLARE CONTINUE HANDLER FOR 1537 SET E='1537', M="Event '%s' already exists";
DECLARE CONTINUE HANDLER FOR 1538 SET E='1538', M="Failed to store event %s. Error code %d from storage engine.";
DECLARE CONTINUE HANDLER FOR 1539 SET E='1539', M="Unknown event '%s'";
DECLARE CONTINUE HANDLER FOR 1540 SET E='1540', M="Failed to alter event '%s'";
DECLARE CONTINUE HANDLER FOR 1541 SET E='1541', M="Failed to drop %s";
DECLARE CONTINUE HANDLER FOR 1542 SET E='1542', M="INTERVAL is either not positive or too big";
DECLARE CONTINUE HANDLER FOR 1543 SET E='1543', M="ENDS is either invalid or before STARTS";
DECLARE CONTINUE HANDLER FOR 1544 SET E='1544', M="Event execution time is in the past. Event has been disabled";
DECLARE CONTINUE HANDLER FOR 1545 SET E='1545', M="Failed to open mysql.event";
DECLARE CONTINUE HANDLER FOR 1546 SET E='1546', M="No datetime expression provided";
DECLARE CONTINUE HANDLER FOR 1547 SET E='1547', M="Column count of mysql.%s is wrong. Expected %d, found %d. The table is probably corrupted";
DECLARE CONTINUE HANDLER FOR 1548 SET E='1548', M="Cannot load from mysql.%s. The table is probably corrupted";
DECLARE CONTINUE HANDLER FOR 1549 SET E='1549', M="Failed to delete the event from mysql.event";
DECLARE CONTINUE HANDLER FOR 1550 SET E='1550', M="Error during compilation of event's body";
DECLARE CONTINUE HANDLER FOR 1551 SET E='1551', M="Same old and new event name";
DECLARE CONTINUE HANDLER FOR 1552 SET E='1552', M="Data for column '%s' too long";
DECLARE CONTINUE HANDLER FOR 1553 SET E='1553', M="Cannot drop index '%s': needed in a foreign key constraint";
DECLARE CONTINUE HANDLER FOR 1554 SET E='1554', M="The syntax '%s' is deprecated and will be removed in MySQL %s. Please use %s instead";
DECLARE CONTINUE HANDLER FOR 1555 SET E='1555', M="You can't write-lock a log table. Only read access is possible";
DECLARE CONTINUE HANDLER FOR 1556 SET E='1556', M="You can't use locks with log tables.";
DECLARE CONTINUE HANDLER FOR 1557 SET E='1557', M="Upholding foreign key constraints for table '%s', entry '%s', key %d would lead to a duplicate entry";
DECLARE CONTINUE HANDLER FOR 1558 SET E='1558', M="Column count of mysql.%s is wrong. Expected %d, found %d. Created with MySQL %d, now running %d. Please use mysql_upgrade to fix this error.";
DECLARE CONTINUE HANDLER FOR 1559 SET E='1559', M="Cannot switch out of the row-based binary log format when the session has open temporary tables";
DECLARE CONTINUE HANDLER FOR 1560 SET E='1560', M="Cannot change the binary logging format inside a stored function or trigger";
DECLARE CONTINUE HANDLER FOR 1561 SET E='1561', M="The NDB cluster engine does not support changing the binlog format on the fly yet";
DECLARE CONTINUE HANDLER FOR 1562 SET E='1562', M="Cannot create temporary table with partitions";
DECLARE CONTINUE HANDLER FOR 1563 SET E='1563', M="Partition constant is out of partition function domain";
DECLARE CONTINUE HANDLER FOR 1564 SET E='1564', M="This partition function is not allowed";
DECLARE CONTINUE HANDLER FOR 1565 SET E='1565', M="Error in DDL log";
DECLARE CONTINUE HANDLER FOR 1566 SET E='1566', M="Not allowed to use NULL value in VALUES LESS THAN";
DECLARE CONTINUE HANDLER FOR 1567 SET E='1567', M="Incorrect partition name";
DECLARE CONTINUE HANDLER FOR 1568 SET E='1568', M="Transaction isolation level can't be changed while a transaction is in progress";
DECLARE CONTINUE HANDLER FOR 1569 SET E='1569', M="ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '%s' for key '%s'";
DECLARE CONTINUE HANDLER FOR 1570 SET E='1570', M="Internal scheduler error %d";
DECLARE CONTINUE HANDLER FOR 1571 SET E='1571', M="Error during starting/stopping of the scheduler. Error code %u";
DECLARE CONTINUE HANDLER FOR 1572 SET E='1572', M="Engine cannot be used in partitioned tables";
DECLARE CONTINUE HANDLER FOR 1573 SET E='1573', M="Cannot activate '%s' log";
DECLARE CONTINUE HANDLER FOR 1574 SET E='1574', M="The server was not built with row-based replication";
DECLARE CONTINUE HANDLER FOR 1575 SET E='1575', M="Decoding of base64 string failed";
DECLARE CONTINUE HANDLER FOR 1576 SET E='1576', M="Recursion of EVENT DDL statements is forbidden when body is present";
DECLARE CONTINUE HANDLER FOR 1577 SET E='1577', M="Cannot proceed because system tables used by Event Scheduler were found damaged at server start";
DECLARE CONTINUE HANDLER FOR 1578 SET E='1578', M="Only integers allowed as number here";
DECLARE CONTINUE HANDLER FOR 1579 SET E='1579', M="This storage engine cannot be used for log tables";
DECLARE CONTINUE HANDLER FOR 1580 SET E='1580', M="You cannot '%s' a log table if logging is enabled";
DECLARE CONTINUE HANDLER FOR 1581 SET E='1581', M="Cannot rename '%s'. When logging enabled, rename to/from log table must rename two tables: the log table to an archive table and another table back to '%s'";
DECLARE CONTINUE HANDLER FOR 1582 SET E='1582', M="Incorrect parameter count in the call to native function '%s'";
DECLARE CONTINUE HANDLER FOR 1583 SET E='1583', M="Incorrect parameters in the call to native function '%s'";
DECLARE CONTINUE HANDLER FOR 1584 SET E='1584', M="Incorrect parameters in the call to stored function '%s'";
DECLARE CONTINUE HANDLER FOR 1585 SET E='1585', M="This function '%s' has the same name as a native function";
DECLARE CONTINUE HANDLER FOR 1586 SET E='1586', M="Duplicate entry '%s' for key '%s'";
DECLARE CONTINUE HANDLER FOR 1587 SET E='1587', M="Too many files opened, please execute the command again";
DECLARE CONTINUE HANDLER FOR 1588 SET E='1588', M="Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation.";
DECLARE CONTINUE HANDLER FOR 1589 SET E='1589', M="Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation.";
DECLARE CONTINUE HANDLER FOR 1590 SET E='1590', M="The incident %s occured on the master. Message: %s";
DECLARE CONTINUE HANDLER FOR 1591 SET E='1591', M="Table has no partition for some existing values";
DECLARE CONTINUE HANDLER FOR 1592 SET E='1592', M="Statement may not be safe to log in statement format.";
DECLARE CONTINUE HANDLER FOR 1593 SET E='1593', M="Fatal error: %s";
DECLARE CONTINUE HANDLER FOR 1594 SET E='1594', M="Relay log read failure: %s";
DECLARE CONTINUE HANDLER FOR 1595 SET E='1595', M="Relay log write failure: %s";
DECLARE CONTINUE HANDLER FOR 1596 SET E='1596', M="Failed to create %s";
DECLARE CONTINUE HANDLER FOR 1597 SET E='1597', M="Master command %s failed: %s";
DECLARE CONTINUE HANDLER FOR 1598 SET E='1598', M="Binary logging not possible. Message: %s";
DECLARE CONTINUE HANDLER FOR 1599 SET E='1599', M="View `%s`.`%s` has no creation context";
DECLARE CONTINUE HANDLER FOR 1600 SET E='1600', M="Creation context of view `%s`.`%s' is invalid";
DECLARE CONTINUE HANDLER FOR 1601 SET E='1601', M="Creation context of stored routine `%s`.`%s` is invalid";
DECLARE CONTINUE HANDLER FOR 1602 SET E='1602', M="Corrupted TRG file for table `%s`.`%s`";
DECLARE CONTINUE HANDLER FOR 1603 SET E='1603', M="Triggers for table `%s`.`%s` have no creation context";
DECLARE CONTINUE HANDLER FOR 1604 SET E='1604', M="Trigger creation context of table `%s`.`%s` is invalid";
DECLARE CONTINUE HANDLER FOR 1605 SET E='1605', M="Creation context of event `%s`.`%s` is invalid";
DECLARE CONTINUE HANDLER FOR 1606 SET E='1606', M="Cannot open table for trigger `%s`.`%s`";
DECLARE CONTINUE HANDLER FOR 1607 SET E='1607', M="Cannot create stored routine `%s`. Check warnings";
DECLARE CONTINUE HANDLER FOR 1608 SET E='1608', M="Ambiguous slave modes combination. %s";
DECLARE CONTINUE HANDLER FOR 1609 SET E='1609', M="The BINLOG statement of type `%s` was not preceded by a format description BINLOG statement.";
DECLARE CONTINUE HANDLER FOR 1610 SET E='1610', M="Corrupted replication event was detected";
DECLARE CONTINUE HANDLER FOR 1611 SET E='1611', M="Invalid column reference (%s) in LOAD DATA";
DECLARE CONTINUE HANDLER FOR 1612 SET E='1612', M="Being purged log %s was not found";
DECLARE CONTINUE HANDLER FOR 1613 SET E='1613', M="XA_RBTIMEOUT: Transaction branch was rolled back: took too long";
DECLARE CONTINUE HANDLER FOR 1614 SET E='1614', M="XA_RBDEADLOCK: Transaction branch was rolled back: deadlock was detected";
DECLARE CONTINUE HANDLER FOR 1615 SET E='1615', M="Prepared statement needs to be re-prepared";
DECLARE CONTINUE HANDLER FOR 1616 SET E='1616', M="DELAYED option not supported for table '%s'";
DECLARE CONTINUE HANDLER FOR 1617 SET E='1617', M="The master info structure does not exist";
DECLARE CONTINUE HANDLER FOR 1618 SET E='1618', M="<%s> option ignored";
DECLARE CONTINUE HANDLER FOR 1619 SET E='1619', M="Built-in plugins cannot be deleted";
DECLARE CONTINUE HANDLER FOR 1620 SET E='1620', M="Plugin is busy and will be uninstalled on shutdown";
DECLARE CONTINUE HANDLER FOR 1621 SET E='1621', M="%s variable '%s' is read-only. Use SET %s to assign the value";
DECLARE CONTINUE HANDLER FOR 1622 SET E='1622', M="Storage engine %s does not support rollback for this statement. Transaction rolled back and must be restarted";
DECLARE CONTINUE HANDLER FOR 1623 SET E='1623', M="Unexpected master's heartbeat data: %s";
DECLARE CONTINUE HANDLER FOR 1624 SET E='1624', M="The requested value for the heartbeat period %s %s";
DECLARE CONTINUE HANDLER FOR 1625 SET E='1625', M="Bad schema for mysql.ndb_replication table. Message: %s";
DECLARE CONTINUE HANDLER FOR 1626 SET E='1626', M="Error in parsing conflict function. Message: %s";
DECLARE CONTINUE HANDLER FOR 1627 SET E='1627', M="Write to exceptions table failed. Message: %s";
DECLARE CONTINUE HANDLER FOR 1628 SET E='1628', M="Comment for table '%s' is too long (max = %lu)";
DECLARE CONTINUE HANDLER FOR 1629 SET E='1629', M="Comment for field '%s' is too long (max = %lu)";
DECLARE CONTINUE HANDLER FOR 1630 SET E='1630', M="FUNCTION %s does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual";
DECLARE CONTINUE HANDLER FOR 1631 SET E='1631', M="Database";
DECLARE CONTINUE HANDLER FOR 1632 SET E='1632', M="Table";
DECLARE CONTINUE HANDLER FOR 1633 SET E='1633', M="Partition";
DECLARE CONTINUE HANDLER FOR 1634 SET E='1634', M="Subpartition";
DECLARE CONTINUE HANDLER FOR 1635 SET E='1635', M="Temporary";
DECLARE CONTINUE HANDLER FOR 1636 SET E='1636', M="Renamed";
DECLARE CONTINUE HANDLER FOR 1637 SET E='1637', M="Too many active concurrent transactions";
DECLARE CONTINUE HANDLER FOR 1638 SET E='1638', M="Non-ASCII separator arguments are not fully supported";
DECLARE CONTINUE HANDLER FOR 1639 SET E='1639', M="debug sync point wait timed out";
DECLARE CONTINUE HANDLER FOR 1640 SET E='1640', M="debug sync point hit limit reached";
DECLARE CONTINUE HANDLER FOR 2000 SET E='2000', M="Unknown MySQL error";
DECLARE CONTINUE HANDLER FOR 2001 SET E='2001', M="Can't create UNIX socket (%d)";
DECLARE CONTINUE HANDLER FOR 2002 SET E='2002', M="Can't connect to local MySQL server through socket '%s' (%d)";
DECLARE CONTINUE HANDLER FOR 2003 SET E='2003', M="Can't connect to MySQL server on '%s' (%d)";
DECLARE CONTINUE HANDLER FOR 2004 SET E='2004', M="Can't create TCP/IP socket (%d)";
DECLARE CONTINUE HANDLER FOR 2005 SET E='2005', M="Unknown MySQL server host '%s' (%d)";
DECLARE CONTINUE HANDLER FOR 2006 SET E='2006', M="MySQL server has gone away";
DECLARE CONTINUE HANDLER FOR 2007 SET E='2007', M="Protocol mismatch; server version = %d, client version = %d";
DECLARE CONTINUE HANDLER FOR 2008 SET E='2008', M="MySQL client ran out of memory";
DECLARE CONTINUE HANDLER FOR 2009 SET E='2009', M="Wrong host info";
DECLARE CONTINUE HANDLER FOR 2010 SET E='2010', M="Localhost via UNIX socket";
DECLARE CONTINUE HANDLER FOR 2011 SET E='2011', M="%s via TCP/IP";
DECLARE CONTINUE HANDLER FOR 2012 SET E='2012', M="Error in server handshake";
DECLARE CONTINUE HANDLER FOR 2013 SET E='2013', M="Lost connection to MySQL server during query";
DECLARE CONTINUE HANDLER FOR 2014 SET E='2014', M="Commands out of sync; you can't run this command now";
DECLARE CONTINUE HANDLER FOR 2015 SET E='2015', M="Named pipe: %s";
DECLARE CONTINUE HANDLER FOR 2016 SET E='2016', M="Can't wait for named pipe to host: %s pipe: %s (%lu)";
DECLARE CONTINUE HANDLER FOR 2017 SET E='2017', M="Can't open named pipe to host: %s pipe: %s (%lu)";
DECLARE CONTINUE HANDLER FOR 2018 SET E='2018', M="Can't set state of named pipe to host: %s pipe: %s (%lu)";
DECLARE CONTINUE HANDLER FOR 2019 SET E='2019', M="Can't initialize character set %s (path: %s)";
DECLARE CONTINUE HANDLER FOR 2020 SET E='2020', M="Got packet bigger than 'max_allowed_packet' bytes";
DECLARE CONTINUE HANDLER FOR 2021 SET E='2021', M="Embedded server";
DECLARE CONTINUE HANDLER FOR 2022 SET E='2022', M="Error on SHOW SLAVE STATUS:";
DECLARE CONTINUE HANDLER FOR 2023 SET E='2023', M="Error on SHOW SLAVE HOSTS:";
DECLARE CONTINUE HANDLER FOR 2024 SET E='2024', M="Error connecting to slave:";
DECLARE CONTINUE HANDLER FOR 2025 SET E='2025', M="Error connecting to master:";
DECLARE CONTINUE HANDLER FOR 2026 SET E='2026', M="SSL connection error";
DECLARE CONTINUE HANDLER FOR 2027 SET E='2027', M="Malformed packet";
DECLARE CONTINUE HANDLER FOR 2028 SET E='2028', M="This client library is licensed only for use with MySQL servers having '%s' license";
DECLARE CONTINUE HANDLER FOR 2029 SET E='2029', M="Invalid use of null pointer";
DECLARE CONTINUE HANDLER FOR 2030 SET E='2030', M="Statement not prepared";
DECLARE CONTINUE HANDLER FOR 2031 SET E='2031', M="No data supplied for parameters in prepared statement";
DECLARE CONTINUE HANDLER FOR 2032 SET E='2032', M="Data truncated";
DECLARE CONTINUE HANDLER FOR 2033 SET E='2033', M="No parameters exist in the statement";
DECLARE CONTINUE HANDLER FOR 2034 SET E='2034', M="Invalid parameter number";
DECLARE CONTINUE HANDLER FOR 2035 SET E='2035', M="Can't send long data for non-string/non-binary data types (parameter: %d)";
DECLARE CONTINUE HANDLER FOR 2036 SET E='2036', M="Using unsupported buffer type: %d (parameter: %d)";
DECLARE CONTINUE HANDLER FOR 2037 SET E='2037', M="Shared memory: %s";
DECLARE CONTINUE HANDLER FOR 2038 SET E='2038', M="Can't open shared memory; client could not create request event (%lu)";
DECLARE CONTINUE HANDLER FOR 2039 SET E='2039', M="Can't open shared memory; no answer event received from server (%lu)";
DECLARE CONTINUE HANDLER FOR 2040 SET E='2040', M="Can't open shared memory; server could not allocate file mapping (%lu)";
DECLARE CONTINUE HANDLER FOR 2041 SET E='2041', M="Can't open shared memory; server could not get pointer to file mapping (%lu)";
DECLARE CONTINUE HANDLER FOR 2042 SET E='2042', M="Can't open shared memory; client could not allocate file mapping (%lu)";
DECLARE CONTINUE HANDLER FOR 2043 SET E='2043', M="Can't open shared memory; client could not get pointer to file mapping (%lu)";
DECLARE CONTINUE HANDLER FOR 2044 SET E='2044', M="Can't open shared memory; client could not create %s event (%lu)";
DECLARE CONTINUE HANDLER FOR 2045 SET E='2045', M="Can't open shared memory; no answer from server (%lu)";
DECLARE CONTINUE HANDLER FOR 2046 SET E='2046', M="Can't open shared memory; cannot send request event to server (%lu)";
DECLARE CONTINUE HANDLER FOR 2047 SET E='2047', M="Wrong or unknown protocol";
DECLARE CONTINUE HANDLER FOR 2048 SET E='2048', M="Invalid connection handle";
DECLARE CONTINUE HANDLER FOR 2049 SET E='2049', M="Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)";
DECLARE CONTINUE HANDLER FOR 2050 SET E='2050', M="Row retrieval was canceled by mysql_stmt_close() call";
DECLARE CONTINUE HANDLER FOR 2051 SET E='2051', M="Attempt to read column without prior row fetch";
DECLARE CONTINUE HANDLER FOR 2052 SET E='2052', M="Prepared statement contains no metadata";
DECLARE CONTINUE HANDLER FOR 2053 SET E='2053', M="Attempt to read a row while there is no result set associated with the statement";
DECLARE CONTINUE HANDLER FOR 2054 SET E='2054', M="This feature is not implemented yet";
DECLARE CONTINUE HANDLER FOR 2055 SET E='2055', M="Lost connection to MySQL server at '%s', system error: %d";
DECLARE CONTINUE HANDLER FOR 2056 SET E='2056', M="Statement closed indirectly because of a preceeding %s() call";
DECLARE CONTINUE HANDLER FOR 2057 SET E='2057', M="The number of columns in the result set differs from the number of bound buffers. You must reset the statement, rebind the result set columns, and execute the statement again";
-- Some operation
IF E> 0 THEN
SELECT CONCAT("Error #", E, ": ", M);
END IF;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment