Fixed wrong arguments to printf in InnoDB
This commit is contained in:
parent
30289a2713
commit
f67b8273c0
@ -2166,7 +2166,7 @@ convert_error_code_to_mysql(
|
|||||||
|
|
||||||
case DB_TOO_BIG_INDEX_COL:
|
case DB_TOO_BIG_INDEX_COL:
|
||||||
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0),
|
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0),
|
||||||
DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags));
|
(ulong) DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags));
|
||||||
return(HA_ERR_INDEX_COL_TOO_LONG);
|
return(HA_ERR_INDEX_COL_TOO_LONG);
|
||||||
|
|
||||||
case DB_NO_SAVEPOINT:
|
case DB_NO_SAVEPOINT:
|
||||||
@ -5287,7 +5287,6 @@ innobase_close_connection(
|
|||||||
"MariaDB is closing a connection that has an active "
|
"MariaDB is closing a connection that has an active "
|
||||||
"InnoDB transaction. " TRX_ID_FMT " row modifications "
|
"InnoDB transaction. " TRX_ID_FMT " row modifications "
|
||||||
"will roll back.",
|
"will roll back.",
|
||||||
" row modifications will roll back.",
|
|
||||||
trx->undo_no);
|
trx->undo_no);
|
||||||
ut_d(ib::warn()
|
ut_d(ib::warn()
|
||||||
<< "trx: " << trx << " started on: "
|
<< "trx: " << trx << " started on: "
|
||||||
@ -12132,7 +12131,7 @@ create_table_info_t::create_options_are_invalid()
|
|||||||
ER_ILLEGAL_HA_CREATE_OPTION,
|
ER_ILLEGAL_HA_CREATE_OPTION,
|
||||||
"InnoDB: invalid KEY_BLOCK_SIZE = %u."
|
"InnoDB: invalid KEY_BLOCK_SIZE = %u."
|
||||||
" Valid values are [1, 2, 4, 8, 16]",
|
" Valid values are [1, 2, 4, 8, 16]",
|
||||||
m_create_info->key_block_size);
|
(uint) m_create_info->key_block_size);
|
||||||
ret = "KEY_BLOCK_SIZE";
|
ret = "KEY_BLOCK_SIZE";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -12623,7 +12622,7 @@ index_bad:
|
|||||||
m_thd, Sql_condition::WARN_LEVEL_WARN,
|
m_thd, Sql_condition::WARN_LEVEL_WARN,
|
||||||
ER_ILLEGAL_HA_CREATE_OPTION,
|
ER_ILLEGAL_HA_CREATE_OPTION,
|
||||||
"InnoDB: ignoring KEY_BLOCK_SIZE=%u.",
|
"InnoDB: ignoring KEY_BLOCK_SIZE=%u.",
|
||||||
m_create_info->key_block_size);
|
(uint) m_create_info->key_block_size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -12646,7 +12645,7 @@ index_bad:
|
|||||||
ER_ILLEGAL_HA_CREATE_OPTION,
|
ER_ILLEGAL_HA_CREATE_OPTION,
|
||||||
"InnoDB: ignoring KEY_BLOCK_SIZE=%u"
|
"InnoDB: ignoring KEY_BLOCK_SIZE=%u"
|
||||||
" unless ROW_FORMAT=COMPRESSED.",
|
" unless ROW_FORMAT=COMPRESSED.",
|
||||||
m_create_info->key_block_size);
|
(uint) m_create_info->key_block_size);
|
||||||
zip_allowed = false;
|
zip_allowed = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -14199,7 +14198,8 @@ ha_innobase::records_in_range(
|
|||||||
push_warning_printf(
|
push_warning_printf(
|
||||||
ha_thd(), Sql_condition::WARN_LEVEL_WARN,
|
ha_thd(), Sql_condition::WARN_LEVEL_WARN,
|
||||||
ER_NO_DEFAULT,
|
ER_NO_DEFAULT,
|
||||||
"btr_estimate_n_rows_in_range(): %f", n_rows);
|
"btr_estimate_n_rows_in_range(): %lld",
|
||||||
|
(longlong) n_rows);
|
||||||
);
|
);
|
||||||
|
|
||||||
func_exit:
|
func_exit:
|
||||||
@ -22963,7 +22963,7 @@ ib_push_frm_error(
|
|||||||
"installations? See "
|
"installations? See "
|
||||||
REFMAN
|
REFMAN
|
||||||
"innodb-troubleshooting.html\n",
|
"innodb-troubleshooting.html\n",
|
||||||
ib_table->name);
|
ib_table->name.m_name);
|
||||||
|
|
||||||
if (push_warning) {
|
if (push_warning) {
|
||||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
||||||
@ -23007,7 +23007,7 @@ ib_push_frm_error(
|
|||||||
"installations? See "
|
"installations? See "
|
||||||
REFMAN
|
REFMAN
|
||||||
"innodb-troubleshooting.html\n",
|
"innodb-troubleshooting.html\n",
|
||||||
ib_table->name, n_keys,
|
ib_table->name.m_name, n_keys,
|
||||||
table->s->keys);
|
table->s->keys);
|
||||||
|
|
||||||
if (push_warning) {
|
if (push_warning) {
|
||||||
|
@ -300,7 +300,7 @@ my_error_innodb(
|
|||||||
break;
|
break;
|
||||||
case DB_TOO_BIG_INDEX_COL:
|
case DB_TOO_BIG_INDEX_COL:
|
||||||
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0),
|
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0),
|
||||||
DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags));
|
(ulong) DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags));
|
||||||
break;
|
break;
|
||||||
case DB_TOO_MANY_CONCURRENT_TRXS:
|
case DB_TOO_MANY_CONCURRENT_TRXS:
|
||||||
my_error(ER_TOO_MANY_CONCURRENT_TRXS, MYF(0));
|
my_error(ER_TOO_MANY_CONCURRENT_TRXS, MYF(0));
|
||||||
@ -1636,7 +1636,7 @@ innobase_get_foreign_key_info(
|
|||||||
/* Not possible to add a foreign key without a
|
/* Not possible to add a foreign key without a
|
||||||
referenced column */
|
referenced column */
|
||||||
mutex_exit(&dict_sys->mutex);
|
mutex_exit(&dict_sys->mutex);
|
||||||
my_error(ER_CANNOT_ADD_FOREIGN, MYF(0), tbl_namep);
|
my_error(ER_CANNOT_ADD_FOREIGN, MYF(0));
|
||||||
goto err_exit;
|
goto err_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2050,7 +2050,8 @@ innobase_check_index_keys(
|
|||||||
}
|
}
|
||||||
#endif /* MYSQL_RENAME_INDEX */
|
#endif /* MYSQL_RENAME_INDEX */
|
||||||
|
|
||||||
my_error(ER_WRONG_NAME_FOR_INDEX, MYF(0), key.name);
|
my_error(ER_WRONG_NAME_FOR_INDEX, MYF(0),
|
||||||
|
key.name);
|
||||||
|
|
||||||
return(ER_WRONG_NAME_FOR_INDEX);
|
return(ER_WRONG_NAME_FOR_INDEX);
|
||||||
}
|
}
|
||||||
|
@ -2463,7 +2463,7 @@ row_import_cfg_read_index_fields(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading index fields.");
|
"while reading index fields.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -2499,7 +2499,7 @@ row_import_cfg_read_index_fields(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while parsing table name.");
|
"while parsing table name.");
|
||||||
|
|
||||||
return(err);
|
return(err);
|
||||||
@ -2569,7 +2569,7 @@ row_import_read_index_data(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno), msg);
|
(ulong) errno, strerror(errno), msg);
|
||||||
|
|
||||||
ib::error() << "IO Error: " << msg;
|
ib::error() << "IO Error: " << msg;
|
||||||
|
|
||||||
@ -2644,7 +2644,7 @@ row_import_read_index_data(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while parsing index name.");
|
"while parsing index name.");
|
||||||
|
|
||||||
return(err);
|
return(err);
|
||||||
@ -2683,7 +2683,7 @@ row_import_read_indexes(
|
|||||||
if (fread(row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fread(row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading number of indexes.");
|
"while reading number of indexes.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -2769,7 +2769,7 @@ row_import_read_columns(
|
|||||||
if (fread(row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fread(row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading table column meta-data.");
|
"while reading table column meta-data.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -2833,7 +2833,7 @@ row_import_read_columns(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while parsing table column name.");
|
"while parsing table column name.");
|
||||||
|
|
||||||
return(err);
|
return(err);
|
||||||
@ -2864,7 +2864,7 @@ row_import_read_v1(
|
|||||||
if (fread(value, 1, sizeof(value), file) != sizeof(value)) {
|
if (fread(value, 1, sizeof(value), file) != sizeof(value)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading meta-data export hostname length.");
|
"while reading meta-data export hostname length.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -2892,7 +2892,7 @@ row_import_read_v1(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while parsing export hostname.");
|
"while parsing export hostname.");
|
||||||
|
|
||||||
return(err);
|
return(err);
|
||||||
@ -2906,7 +2906,7 @@ row_import_read_v1(
|
|||||||
if (fread(value, 1, sizeof(value), file) != sizeof(value)) {
|
if (fread(value, 1, sizeof(value), file) != sizeof(value)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading meta-data table name length.");
|
"while reading meta-data table name length.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -2933,7 +2933,7 @@ row_import_read_v1(
|
|||||||
if (err != DB_SUCCESS) {
|
if (err != DB_SUCCESS) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while parsing table name.");
|
"while parsing table name.");
|
||||||
|
|
||||||
return(err);
|
return(err);
|
||||||
@ -2952,7 +2952,7 @@ row_import_read_v1(
|
|||||||
if (fread(row, 1, sizeof(ib_uint64_t), file) != sizeof(ib_uint64_t)) {
|
if (fread(row, 1, sizeof(ib_uint64_t), file) != sizeof(ib_uint64_t)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading autoinc value.");
|
"while reading autoinc value.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -2968,7 +2968,7 @@ row_import_read_v1(
|
|||||||
if (fread(row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fread(row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading meta-data header.");
|
"while reading meta-data header.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -3039,7 +3039,7 @@ row_import_read_meta_data(
|
|||||||
if (fread(&row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fread(&row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_ERROR, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while reading meta-data version.");
|
"while reading meta-data version.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -3090,7 +3090,7 @@ row_import_read_cfg(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_READ_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_READ_ERROR,
|
||||||
errno, strerror(errno), msg);
|
(ulong) errno, strerror(errno), msg);
|
||||||
|
|
||||||
cfg.m_missing = true;
|
cfg.m_missing = true;
|
||||||
|
|
||||||
|
@ -4702,8 +4702,8 @@ row_merge_build_indexes(
|
|||||||
"Table %s is encrypted but encryption service or"
|
"Table %s is encrypted but encryption service or"
|
||||||
" used key_id is not available. "
|
" used key_id is not available. "
|
||||||
" Can't continue reading table.",
|
" Can't continue reading table.",
|
||||||
!old_table->is_readable() ? old_table->name :
|
!old_table->is_readable() ? old_table->name.m_name :
|
||||||
new_table->name);
|
new_table->name.m_name);
|
||||||
goto func_exit;
|
goto func_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ row_quiesce_write_index_fields(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing index fields.");
|
"while writing index fields.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -87,7 +87,7 @@ row_quiesce_write_index_fields(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing index column.");
|
"while writing index column.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -121,7 +121,7 @@ row_quiesce_write_indexes(
|
|||||||
if (fwrite(row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fwrite(row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing index count.");
|
"while writing index count.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -175,7 +175,7 @@ row_quiesce_write_indexes(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing index meta-data.");
|
"while writing index meta-data.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -196,7 +196,7 @@ row_quiesce_write_indexes(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing index name.");
|
"while writing index name.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -256,7 +256,7 @@ row_quiesce_write_table(
|
|||||||
if (fwrite(row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fwrite(row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing table column data.");
|
"while writing table column data.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -283,7 +283,7 @@ row_quiesce_write_table(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing column name.");
|
"while writing column name.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -315,7 +315,7 @@ row_quiesce_write_header(
|
|||||||
if (fwrite(&value, 1, sizeof(value), file) != sizeof(value)) {
|
if (fwrite(&value, 1, sizeof(value), file) != sizeof(value)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing meta-data version number.");
|
"while writing meta-data version number.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -345,7 +345,7 @@ row_quiesce_write_header(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing hostname.");
|
"while writing hostname.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -365,7 +365,7 @@ row_quiesce_write_header(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing table name.");
|
"while writing table name.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -381,7 +381,7 @@ row_quiesce_write_header(
|
|||||||
if (fwrite(row, 1, sizeof(ib_uint64_t), file) != sizeof(ib_uint64_t)) {
|
if (fwrite(row, 1, sizeof(ib_uint64_t), file) != sizeof(ib_uint64_t)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing table autoinc value.");
|
"while writing table autoinc value.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -405,7 +405,7 @@ row_quiesce_write_header(
|
|||||||
if (fwrite(row, 1, sizeof(row), file) != sizeof(row)) {
|
if (fwrite(row, 1, sizeof(row), file) != sizeof(row)) {
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno),
|
(ulong) errno, strerror(errno),
|
||||||
"while writing table meta-data.");
|
"while writing table meta-data.");
|
||||||
|
|
||||||
return(DB_IO_ERROR);
|
return(DB_IO_ERROR);
|
||||||
@ -458,7 +458,7 @@ row_quiesce_write_cfg(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno), msg);
|
(ulong) errno, strerror(errno), msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fclose(file) != 0) {
|
if (fclose(file) != 0) {
|
||||||
@ -468,7 +468,7 @@ row_quiesce_write_cfg(
|
|||||||
|
|
||||||
ib_senderrf(
|
ib_senderrf(
|
||||||
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
thd, IB_LOG_LEVEL_WARN, ER_IO_WRITE_ERROR,
|
||||||
errno, strerror(errno), msg);
|
(ulong) errno, strerror(errno), msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user