diff --git a/mysql/errname.go b/mysql/errname.go index 0ff7a13d8..592f4bb5f 100644 --- a/mysql/errname.go +++ b/mysql/errname.go @@ -75,28 +75,28 @@ var MySQLErrName = map[uint16]string{ ER_TOO_LONG_KEY: "Specified key was too long; max key length is %d bytes", ER_KEY_COLUMN_DOES_NOT_EXITS: "Key column '%-.192s' doesn't exist in table", ER_BLOB_USED_AS_KEY: "BLOB column '%-.192s' can't be used in key specification with the used table type", - ER_TOO_BIG_FIELDLENGTH: "Column length too big for column '%-.192s' (max = %lu); use BLOB or TEXT instead", + ER_TOO_BIG_FIELDLENGTH: "Column length too big for column '%-.192s' (max = %d); use BLOB or TEXT instead", ER_WRONG_AUTO_KEY: "Incorrect table definition; there can be only one auto column and it must be defined as a key", ER_READY: "%s: ready for connections.\nVersion: '%s' socket: '%s' port: %d", ER_NORMAL_SHUTDOWN: "%s: Normal shutdown\n", ER_GOT_SIGNAL: "%s: Got signal %d. Aborting!\n", ER_SHUTDOWN_COMPLETE: "%s: Shutdown complete\n", - ER_FORCING_CLOSE: "%s: Forcing close of thread %ld user: '%-.48s'\n", + ER_FORCING_CLOSE: "%s: Forcing close of thread %d user: '%-.48s'\n", ER_IPSOCK_ERROR: "Can't create IP socket", ER_NO_SUCH_INDEX: "Table '%-.192s' has no index like the one used in CREATE INDEX; recreate the table", ER_WRONG_FIELD_TERMINATORS: "Field separator argument is not what is expected; check the manual", ER_BLOBS_AND_NO_TERMINATED: "You can't use fixed rowlength with BLOBs; please use 'fields terminated by'", ER_TEXTFILE_NOT_READABLE: "The file '%-.128s' must be in the database directory or be readable by all", ER_FILE_EXISTS_ERROR: "File '%-.200s' already exists", - ER_LOAD_INFO: "Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld", - ER_ALTER_INFO: "Records: %ld Duplicates: %ld", + ER_LOAD_INFO: "Records: %d Deleted: %d Skipped: %d Warnings: %d", + ER_ALTER_INFO: "Records: %d Duplicates: %d", ER_WRONG_SUB_KEY: "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", ER_CANT_REMOVE_ALL_FIELDS: "You can't delete all columns with ALTER TABLE; use DROP TABLE instead", ER_CANT_DROP_FIELD_OR_KEY: "Can't DROP '%-.192s'; check that column/key exists", - ER_INSERT_INFO: "Records: %ld Duplicates: %ld Warnings: %ld", + ER_INSERT_INFO: "Records: %d Duplicates: %d Warnings: %d", ER_UPDATE_TABLE_USED: "You can't specify target table '%-.192s' for update in FROM clause", - ER_NO_SUCH_THREAD: "Unknown thread id: %lu", - ER_KILL_DENIED_ERROR: "You are not owner of thread %lu", + ER_NO_SUCH_THREAD: "Unknown thread id: %d", + ER_KILL_DENIED_ERROR: "You are not owner of thread %d", ER_NO_TABLES_USED: "No tables used", ER_TOO_BIG_SET: "Too many strings for column %-.192s and SET", ER_NO_UNIQUE_LOGFILE: "Can't generate a unique log-filename %-.200s.(1-999)\n", @@ -119,8 +119,8 @@ var MySQLErrName = map[uint16]string{ ER_UNKNOWN_CHARACTER_SET: "Unknown character set: '%-.64s'", ER_TOO_MANY_TABLES: "Too many tables; MySQL can only use %d tables in a join", ER_TOO_MANY_FIELDS: "Too many columns", - ER_TOO_BIG_ROWSIZE: "Row size too large. The maximum row size for the used table type, not counting BLOBs, is %ld. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs", - ER_STACK_OVERRUN: "Thread stack overrun: Used: %ld of a %ld stack. Use 'mysqld --thread_stack=#' to specify a bigger stack if needed", + ER_TOO_BIG_ROWSIZE: "Row size too large. The maximum row size for the used table type, not counting BLOBs, is %d. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs", + ER_STACK_OVERRUN: "Thread stack overrun: Used: %d of a %d stack. Use 'mysqld --thread_stack=#' to specify a bigger stack if needed", ER_WRONG_OUTER_JOIN: "Cross dependency found in OUTER JOIN; examine your ON conditions", ER_NULL_COLUMN_IN_INDEX: "Table handler doesn't support NULL in given index. Please change column '%-.192s' to be NOT NULL or use another handler", ER_CANT_FIND_UDF: "Can't load function '%-.192s'", @@ -135,9 +135,9 @@ var MySQLErrName = map[uint16]string{ ER_PASSWORD_ANONYMOUS_USER: "You are using MySQL as an anonymous user and anonymous users are not allowed to change passwords", ER_PASSWORD_NOT_ALLOWED: "You must have privileges to update tables in the mysql database to be able to change passwords for others", ER_PASSWORD_NO_MATCH: "Can't find any matching row in the user table", - ER_UPDATE_INFO: "Rows matched: %ld Changed: %ld Warnings: %ld", + ER_UPDATE_INFO: "Rows matched: %d Changed: %d Warnings: %d", ER_CANT_CREATE_THREAD: "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", - ER_WRONG_VALUE_COUNT_ON_ROW: "Column count doesn't match value count at row %ld", + ER_WRONG_VALUE_COUNT_ON_ROW: "Column count doesn't match value count at row %d", ER_CANT_REOPEN_TABLE: "Can't reopen table: '%-.192s'", ER_INVALID_USE_OF_NULL: "Invalid use of NULL value", ER_REGEXP_ERROR: "Got error '%-.64s' from regexp", @@ -153,7 +153,7 @@ var MySQLErrName = map[uint16]string{ ER_SYNTAX_ERROR: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use", ER_DELAYED_CANT_CHANGE_LOCK: "Delayed insert thread couldn't get requested lock for table %-.192s", ER_TOO_MANY_DELAYED_THREADS: "Too many delayed threads in use", - ER_ABORTING_CONNECTION: "Aborted connection %ld to db: '%-.192s' user: '%-.48s' (%-.64s)", + ER_ABORTING_CONNECTION: "Aborted connection %d to db: '%-.192s' user: '%-.48s' (%-.64s)", ER_NET_PACKET_TOO_LARGE: "Got a packet bigger than 'max_allowed_packet' bytes", ER_NET_READ_ERROR_FROM_PIPE: "Got a read error from the connection pipe", ER_NET_FCNTL_ERROR: "Got an error from fcntl()", @@ -185,7 +185,7 @@ var MySQLErrName = map[uint16]string{ ER_ERROR_DURING_ROLLBACK: "Got error %d during ROLLBACK", ER_ERROR_DURING_FLUSH_LOGS: "Got error %d during FLUSH_LOGS", ER_ERROR_DURING_CHECKPOINT: "Got error %d during CHECKPOINT", - ER_NEW_ABORTING_CONNECTION: "Aborted connection %ld to db: '%-.192s' user: '%-.48s' host: '%-.64s' (%-.64s)", + ER_NEW_ABORTING_CONNECTION: "Aborted connection %d to db: '%-.192s' user: '%-.48s' host: '%-.64s' (%-.64s)", ER_DUMP_NOT_IMPLEMENTED: "The storage engine for the table does not support binary table dump", ER_FLUSH_MASTER_BINLOG_CLOSED: "Binlog closed, cannot RESET MASTER", ER_INDEX_REBUILD: "Failed rebuilding the index of dumped table '%-.192s'", @@ -227,7 +227,7 @@ var MySQLErrName = map[uint16]string{ ER_CANT_UPDATE_WITH_READLOCK: "Can't execute the query because you have a conflicting read lock", ER_MIXING_NOT_ALLOWED: "Mixing of transactional and non-transactional tables is disabled", ER_DUP_ARGUMENT: "Option '%s' used twice in statement", - ER_USER_LIMIT_REACHED: "User '%-.64s' has exceeded the '%s' resource (current value: %ld)", + ER_USER_LIMIT_REACHED: "User '%-.64s' has exceeded the '%s' resource (current value: %d)", ER_SPECIFIC_ACCESS_DENIED_ERROR: "Access denied; you need (at least one of) the %-.128s privilege(s) for this operation", ER_LOCAL_VARIABLE: "Variable '%-.64s' is a SESSION variable and can't be used with SET GLOBAL", ER_GLOBAL_VARIABLE: "Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL", @@ -250,7 +250,7 @@ var MySQLErrName = map[uint16]string{ ER_AUTO_CONVERT: "Converting column '%s' from %s to %s", ER_ILLEGAL_REFERENCE: "Reference '%-.64s' not supported (%s)", ER_DERIVED_MUST_HAVE_ALIAS: "Every derived table must have its own alias", - ER_SELECT_REDUCED: "Select %u was reduced during optimization", + ER_SELECT_REDUCED: "Select %d was reduced during optimization", ER_TABLENAME_NOT_ALLOWED_HERE: "Table '%-.192s' from one of the SELECTs cannot be used in %-.32s", ER_NOT_SUPPORTED_AUTH_MODE: "Client does not support authentication protocol requested by server; consider upgrading MySQL client", ER_SPATIAL_CANT_HAVE_NULL: "All parts of a SPATIAL index must be NOT NULL", @@ -261,12 +261,12 @@ var MySQLErrName = map[uint16]string{ ER_ZLIB_Z_MEM_ERROR: "ZLIB: Not enough memory", ER_ZLIB_Z_BUF_ERROR: "ZLIB: Not enough room in the output buffer (probably, length of uncompressed data was corrupted)", ER_ZLIB_Z_DATA_ERROR: "ZLIB: Input data corrupted", - ER_CUT_VALUE_GROUP_CONCAT: "Row %u was cut by GROUP_CONCAT()", - ER_WARN_TOO_FEW_RECORDS: "Row %ld doesn't contain data for all columns", - ER_WARN_TOO_MANY_RECORDS: "Row %ld was truncated; it contained more data than there were input columns", - ER_WARN_NULL_TO_NOTNULL: "Column set to default value; NULL supplied to NOT NULL column '%s' at row %ld", - ER_WARN_DATA_OUT_OF_RANGE: "Out of range value for column '%s' at row %ld", - WARN_DATA_TRUNCATED: "Data truncated for column '%s' at row %ld", + ER_CUT_VALUE_GROUP_CONCAT: "Row %d was cut by GROUP_CONCAT()", + ER_WARN_TOO_FEW_RECORDS: "Row %d doesn't contain data for all columns", + ER_WARN_TOO_MANY_RECORDS: "Row %d was truncated; it contained more data than there were input columns", + ER_WARN_NULL_TO_NOTNULL: "Column set to default value; NULL supplied to NOT NULL column '%s' at row %d", + ER_WARN_DATA_OUT_OF_RANGE: "Out of range value for column '%s' at row %d", + WARN_DATA_TRUNCATED: "Data truncated for column '%s' at row %d", ER_WARN_USING_OTHER_HANDLER: "Using storage engine %s for table '%s'", ER_CANT_AGGREGATE_2COLLATIONS: "Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'", ER_DROP_USER: "Cannot drop one or more of the requested users", @@ -283,7 +283,7 @@ var MySQLErrName = map[uint16]string{ ER_UNTIL_COND_IGNORED: "SQL thread is not to be started so UNTIL options are ignored", ER_WRONG_NAME_FOR_INDEX: "Incorrect index name '%-.100s'", ER_WRONG_NAME_FOR_CATALOG: "Incorrect catalog name '%-.100s'", - ER_WARN_QC_RESIZE: "Query cache failed to set size %lu; new query cache size is %lu", + ER_WARN_QC_RESIZE: "Query cache failed to set size %d; new query cache size is %d", ER_BAD_FT_COLUMN: "Column '%-.192s' cannot be part of FULLTEXT index", ER_UNKNOWN_KEY_CACHE: "Unknown key cache '%-.100s'", ER_WARN_HOSTNAME_WONT_WORK: "MySQL is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work", @@ -300,9 +300,9 @@ var MySQLErrName = map[uint16]string{ ER_GET_ERRMSG: "Got error %d '%-.100s' from %s", ER_GET_TEMPORARY_ERRMSG: "Got temporary error %d '%-.100s' from %s", ER_UNKNOWN_TIME_ZONE: "Unknown or incorrect time zone: '%-.64s'", - ER_WARN_INVALID_TIMESTAMP: "Invalid TIMESTAMP value in column '%s' at row %ld", + ER_WARN_INVALID_TIMESTAMP: "Invalid TIMESTAMP value in column '%s' at row %d", ER_INVALID_CHARACTER_STRING: "Invalid %s character string: '%.64s'", - ER_WARN_ALLOWED_PACKET_OVERFLOWED: "Result of %s() was larger than max_allowed_packet (%ld) - truncated", + ER_WARN_ALLOWED_PACKET_OVERFLOWED: "Result of %s() was larger than max_allowed_packet (%d) - truncated", ER_CONFLICTING_DECLARATIONS: "Conflicting declarations: '%s%s' and '%s%s'", ER_SP_NO_RECURSIVE_CREATE: "Can't create a %s from within another stored routine", ER_SP_ALREADY_EXISTS: "%s %s already exists", @@ -319,7 +319,7 @@ var MySQLErrName = map[uint16]string{ ER_UPDATE_LOG_DEPRECATED_IGNORED: "The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored.", ER_UPDATE_LOG_DEPRECATED_TRANSLATED: "The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN.", ER_QUERY_INTERRUPTED: "Query execution was interrupted", - ER_SP_WRONG_NO_OF_ARGS: "Incorrect number of arguments for %s %s; expected %u, got %u", + ER_SP_WRONG_NO_OF_ARGS: "Incorrect number of arguments for %s %s; expected %d, got %d", ER_SP_COND_MISMATCH: "Undefined CONDITION: %s", ER_SP_NORETURN: "No RETURN found in FUNCTION %s", ER_SP_NORETURNEND: "FUNCTION %s ended without RETURN", @@ -367,7 +367,7 @@ var MySQLErrName = map[uint16]string{ ER_TRG_NO_SUCH_ROW_IN_TRG: "There is no %s row in %s trigger", ER_NO_DEFAULT_FOR_FIELD: "Field '%-.192s' doesn't have a default value", ER_DIVISION_BY_ZERO: "Division by 0", - ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: "Incorrect %-.32s value: '%-.128s' for column '%.192s' at row %ld", + ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: "Incorrect %-.32s value: '%-.128s' for column '%.192s' at row %d", ER_ILLEGAL_VALUE_FOR_TYPE: "Illegal %s '%-.192s' value found during parsing", ER_VIEW_NONUPD_CHECK: "CHECK OPTION on non-updatable view '%-.192s.%-.192s'", ER_VIEW_CHECK_FAILED: "CHECK OPTION failed '%-.192s.%-.192s'", @@ -407,7 +407,7 @@ var MySQLErrName = map[uint16]string{ ER_NONEXISTING_PROC_GRANT: "There is no such grant defined for user '%-.48s' on host '%-.64s' on routine '%-.192s'", ER_PROC_AUTO_GRANT_FAIL: "Failed to grant EXECUTE and ALTER ROUTINE privileges", ER_PROC_AUTO_REVOKE_FAIL: "Failed to revoke all privileges to dropped routine", - ER_DATA_TOO_LONG: "Data too long for column '%s' at row %ld", + ER_DATA_TOO_LONG: "Data too long for column '%s' at row %d", ER_SP_BAD_SQLSTATE: "Bad SQLSTATE: '%s'", ER_STARTUP: "%s: ready for connections.\nVersion: '%s' socket: '%s' port: %d %s", ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR: "Can't load value from file with fixed size rows to variable", @@ -422,12 +422,12 @@ var MySQLErrName = map[uint16]string{ ER_BINLOG_UNSAFE_ROUTINE: "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)", ER_BINLOG_CREATE_ROUTINE_NEED_SUPER: "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)", ER_EXEC_STMT_WITH_OPEN_CURSOR: "You can't execute a prepared statement which has an open cursor associated with it. Reset the statement to re-execute it.", - ER_STMT_HAS_NO_OPEN_CURSOR: "The statement (%lu) has no open cursor.", + ER_STMT_HAS_NO_OPEN_CURSOR: "The statement (%d) has no open cursor.", ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG: "Explicit or implicit commit is not allowed in stored function or trigger.", ER_NO_DEFAULT_FOR_VIEW_FIELD: "Field of view '%-.192s.%-.192s' underlying table doesn't have a default value", ER_SP_NO_RECURSION: "Recursive stored functions and triggers are not allowed.", - ER_TOO_BIG_SCALE: "Too big scale %d specified for column '%-.192s'. Maximum is %lu.", - ER_TOO_BIG_PRECISION: "Too big precision %d specified for column '%-.192s'. Maximum is %lu.", + ER_TOO_BIG_SCALE: "Too big scale %d specified for column '%-.192s'. Maximum is %d.", + ER_TOO_BIG_PRECISION: "Too big precision %d specified for column '%-.192s'. Maximum is %d.", ER_M_BIGGER_THAN_D: "For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '%-.192s').", ER_WRONG_LOCK_OF_SYSTEM_TABLE: "You can't combine write-locking of system tables with other tables or lock types", ER_CONNECT_TO_FOREIGN_DATA_SOURCE: "Unable to connect to foreign data source: %.64s", @@ -437,10 +437,10 @@ var MySQLErrName = map[uint16]string{ ER_FOREIGN_DATA_STRING_INVALID: "The data source connection string '%-.64s' is not in the correct format", ER_CANT_CREATE_FEDERATED_TABLE: "Can't create federated table. Foreign data src error: %-.64s", ER_TRG_IN_WRONG_SCHEMA: "Trigger in wrong schema", - ER_STACK_OVERRUN_NEED_MORE: "Thread stack overrun: %ld bytes used of a %ld byte stack, and %ld bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.", + ER_STACK_OVERRUN_NEED_MORE: "Thread stack overrun: %d bytes used of a %d byte stack, and %d bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.", ER_TOO_LONG_BODY: "Routine body for '%-.100s' is too long", ER_WARN_CANT_DROP_DEFAULT_KEYCACHE: "Cannot drop default keycache", - ER_TOO_BIG_DISPLAYWIDTH: "Display width out of range for column '%-.192s' (max = %lu)", + ER_TOO_BIG_DISPLAYWIDTH: "Display width out of range for column '%-.192s' (max = %d)", ER_XAER_DUPID: "XAER_DUPID: The XID already exists", ER_DATETIME_FUNCTION_OVERFLOW: "Datetime function: %-.32s field overflow", ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG: "Can't update table '%-.192s' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.", @@ -462,7 +462,7 @@ var MySQLErrName = map[uint16]string{ ER_SP_WRONG_NAME: "Incorrect routine name '%-.192s'", ER_TABLE_NEEDS_UPGRADE: "Table upgrade required. Please do \"REPAIR TABLE `%-.32s`\" or dump/reload to fix it!", ER_SP_NO_AGGREGATE: "AGGREGATE is not supported for stored functions", - ER_MAX_PREPARED_STMT_COUNT_REACHED: "Can't create more than max_prepared_stmt_count statements (current value: %lu)", + ER_MAX_PREPARED_STMT_COUNT_REACHED: "Can't create more than max_prepared_stmt_count statements (current value: %d)", ER_VIEW_RECURSIVE: "`%-.192s`.`%-.192s` contains view recursion", ER_NON_GROUPING_FIELD_USED: "Non-grouping field '%-.192s' is used in %-.64s clause", ER_TABLE_CANT_HANDLE_SPKEYS: "The used table type doesn't support SPATIAL indexes", @@ -572,7 +572,7 @@ var MySQLErrName = map[uint16]string{ ER_CANT_CHANGE_TX_CHARACTERISTICS: "Transaction characteristics can't be changed while a transaction is in progress", ER_DUP_ENTRY_AUTOINCREMENT_CASE: "ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '%-.192s' for key '%-.192s'", ER_EVENT_MODIFY_QUEUE_ERROR: "Internal scheduler error %d", - ER_EVENT_SET_VAR_ERROR: "Error during starting/stopping of the scheduler. Error code %u", + ER_EVENT_SET_VAR_ERROR: "Error during starting/stopping of the scheduler. Error code %d", ER_PARTITION_MERGE_ERROR: "Engine cannot be used in partitioned tables", ER_CANT_ACTIVATE_LOG: "Cannot activate '%-.64s' log", ER_RBR_NOT_AVAILABLE: "The server was not built with row-based replication", @@ -629,8 +629,8 @@ var MySQLErrName = map[uint16]string{ ER_NDB_REPLICATION_SCHEMA_ERROR: "Bad schema for mysql.ndb_replication table. Message: %-.64s", ER_CONFLICT_FN_PARSE_ERROR: "Error in parsing conflict function. Message: %-.64s", ER_EXCEPTIONS_WRITE_ERROR: "Write to exceptions table failed. Message: %-.128s\"", - ER_TOO_LONG_TABLE_COMMENT: "Comment for table '%-.64s' is too long (max = %lu)", - ER_TOO_LONG_FIELD_COMMENT: "Comment for field '%-.64s' is too long (max = %lu)", + ER_TOO_LONG_TABLE_COMMENT: "Comment for table '%-.64s' is too long (max = %d)", + ER_TOO_LONG_FIELD_COMMENT: "Comment for field '%-.64s' is too long (max = %d)", ER_FUNC_INEXISTENT_NAME_COLLISION: "FUNCTION %s does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual", ER_DATABASE_NAME: "Database", ER_TABLE_NAME: "Table", @@ -689,7 +689,7 @@ var MySQLErrName = map[uint16]string{ ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT: "Cannot modify @@session.binlog_direct_non_transactional_updates inside a transaction", ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT: "Cannot change the binlog direct flag inside a stored function or trigger", ER_SPATIAL_MUST_HAVE_GEOM_COL: "A SPATIAL index may only contain a geometrical type column", - ER_TOO_LONG_INDEX_COMMENT: "Comment for index '%-.64s' is too long (max = %lu)", + ER_TOO_LONG_INDEX_COMMENT: "Comment for index '%-.64s' is too long (max = %d)", ER_LOCK_ABORTED: "Wait on a lock was aborted due to a pending exclusive lock", ER_DATA_OUT_OF_RANGE: "%s value is out of range in '%s'", ER_WRONG_SPVAR_TYPE_IN_LIMIT: "A variable of a non-integer based type in LIMIT clause", @@ -710,7 +710,7 @@ var MySQLErrName = map[uint16]string{ ER_MULTI_UPDATE_KEY_CONFLICT: "Primary key/partition key update is not allowed since the table is updated both as '%-.192s' and '%-.192s'.", ER_TABLE_NEEDS_REBUILD: "Table rebuild required. Please do \"ALTER TABLE `%-.32s` FORCE\" or dump/reload to fix it!", WARN_OPTION_BELOW_LIMIT: "The value of '%s' should be no less than the value of '%s'", - ER_INDEX_COLUMN_TOO_LONG: "Index column size too large. The maximum column size is %lu bytes.", + ER_INDEX_COLUMN_TOO_LONG: "Index column size too large. The maximum column size is %d bytes.", ER_ERROR_IN_TRIGGER_BODY: "Trigger '%-.64s' has an error in its body: '%-.256s'", ER_ERROR_IN_UNKNOWN_TRIGGER_BODY: "Unknown trigger has an error in its body: '%-.256s'", ER_INDEX_CORRUPT: "Index %s is corrupted", @@ -730,7 +730,7 @@ var MySQLErrName = map[uint16]string{ ER_UNSUPPORTED_ENGINE: "Storage engine '%s' does not support system tables. [%s.%s]", ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST: "INSERT into autoincrement field which is not the first part in the composed primary key is unsafe.", ER_CANNOT_LOAD_FROM_TABLE_V2: "Cannot load from %s.%s. The table is probably corrupted", - ER_MASTER_DELAY_VALUE_OUT_OF_RANGE: "The requested value %u for the master delay exceeds the maximum %u", + ER_MASTER_DELAY_VALUE_OUT_OF_RANGE: "The requested value %d for the master delay exceeds the maximum %d", ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT: "Only Format_description_log_event and row events are allowed in BINLOG statements (but %s was provided)", ER_PARTITION_EXCHANGE_DIFFERENT_OPTION: "Non matching attribute '%-.64s' between partition and table", ER_PARTITION_EXCHANGE_PART_TABLE: "Table to exchange with partition is partitioned: '%-.64s'", @@ -739,14 +739,14 @@ var MySQLErrName = map[uint16]string{ ER_UNKNOWN_PARTITION: "Unknown partition '%-.64s' in table '%-.64s'", ER_TABLES_DIFFERENT_METADATA: "Tables have different definitions", ER_ROW_DOES_NOT_MATCH_PARTITION: "Found a row that does not match the partition", - ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX: "Option binlog_cache_size (%lu) is greater than max_binlog_cache_size (%lu); setting binlog_cache_size equal to max_binlog_cache_size.", + ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX: "Option binlog_cache_size (%d) is greater than max_binlog_cache_size (%d); setting binlog_cache_size equal to max_binlog_cache_size.", ER_WARN_INDEX_NOT_APPLICABLE: "Cannot use %-.64s access on index '%-.64s' due to type or collation conversion on field '%-.64s'", ER_PARTITION_EXCHANGE_FOREIGN_KEY: "Table to exchange with partition has foreign key references: '%-.64s'", ER_NO_SUCH_KEY_VALUE: "Key value '%-.192s' was not found in table '%-.192s.%-.192s'", ER_RPL_INFO_DATA_TOO_LONG: "Data for column '%s' too long", ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE: "Replication event checksum verification failed while reading from network.", ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE: "Replication event checksum verification failed while reading from a log file.", - ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX: "Option binlog_stmt_cache_size (%lu) is greater than max_binlog_stmt_cache_size (%lu); setting binlog_stmt_cache_size equal to max_binlog_stmt_cache_size.", + ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX: "Option binlog_stmt_cache_size (%d) is greater than max_binlog_stmt_cache_size (%d); setting binlog_stmt_cache_size equal to max_binlog_stmt_cache_size.", ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT: "Can't update table '%-.192s' while '%-.192s' is being created.", ER_PARTITION_CLAUSE_ON_NONPARTITIONED: "PARTITION () clause on non partitioned table", ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET: "Found a row not matching the given partition set", @@ -794,7 +794,7 @@ var MySQLErrName = map[uint16]string{ ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID: "@@SESSION.GTID_NEXT cannot be changed by a client that owns a GTID. The client owns %s. Ownership is released on COMMIT or ROLLBACK.", ER_UNKNOWN_EXPLAIN_FORMAT: "Unknown EXPLAIN format name: '%s'", ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION: "Cannot execute statement in a READ ONLY transaction.", - ER_TOO_LONG_TABLE_PARTITION_COMMENT: "Comment for table partition '%-.64s' is too long (max = %lu)", + ER_TOO_LONG_TABLE_PARTITION_COMMENT: "Comment for table partition '%-.64s' is too long (max = %d)", ER_SLAVE_CONFIGURATION: "Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.", ER_INNODB_FT_LIMIT: "InnoDB presently supports one FULLTEXT index creation at a time", ER_INNODB_NO_FT_TEMP_TABLE: "Cannot create FULLTEXT index on temporary InnoDB table", @@ -811,15 +811,15 @@ var MySQLErrName = map[uint16]string{ ER_DISCARD_FK_CHECKS_RUNNING: "There is a foreign key check running on table '%-.192s'. Cannot discard the table.", ER_TABLE_SCHEMA_MISMATCH: "Schema mismatch (%s)", ER_TABLE_IN_SYSTEM_TABLESPACE: "Table '%-.192s' in system tablespace", - ER_IO_READ_ERROR: "IO Read error: (%lu, %s) %s", - ER_IO_WRITE_ERROR: "IO Write error: (%lu, %s) %s", + ER_IO_READ_ERROR: "IO Read error: (%d, %s) %s", + ER_IO_WRITE_ERROR: "IO Write error: (%d, %s) %s", ER_TABLESPACE_MISSING: "Tablespace is missing for table '%-.192s'", ER_TABLESPACE_EXISTS: "Tablespace for table '%-.192s' exists. Please DISCARD the tablespace before IMPORT.", ER_TABLESPACE_DISCARDED: "Tablespace has been discarded for table '%-.192s'", ER_INTERNAL_ERROR: "Internal error: %s", - ER_INNODB_IMPORT_ERROR: "ALTER TABLE '%-.192s' IMPORT TABLESPACE failed with error %lu : '%s'", + ER_INNODB_IMPORT_ERROR: "ALTER TABLE '%-.192s' IMPORT TABLESPACE failed with error %d : '%s'", ER_INNODB_INDEX_CORRUPT: "Index corrupt: %s", - ER_INVALID_YEAR_COLUMN_LENGTH: "YEAR(%lu) column type is deprecated. Creating YEAR(4) column instead.", + ER_INVALID_YEAR_COLUMN_LENGTH: "YEAR(%d) column type is deprecated. Creating YEAR(4) column instead.", ER_NOT_VALID_PASSWORD: "Your password does not satisfy the current policy requirements", ER_MUST_CHANGE_PASSWORD: "You must SET PASSWORD before executing this statement", ER_FK_NO_INDEX_CHILD: "Failed to add the foreign key constaint. Missing index for constraint '%s' in the foreign table '%s'",