1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-34075: Binlog-in-engine: Some test and review fixes

Enable binlog_in_engine as a default suite.

Fix embedded and Windows build failures.

Use sql_print_(error|warning) over ib::error() and ib::warn().

Use small_vector<> for the innodb_binlog_oob_reader instead of a custom
implementation.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
Kristian Nielsen
2025-01-17 16:55:09 +01:00
parent dd8ffe952d
commit 468c23d69b
6 changed files with 66 additions and 100 deletions

View File

@@ -3375,7 +3375,8 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
goto err;
}
if (reset_transmit_packet(info, info->flags, &ev_offset, &info->errmsg) ||
fake_format_description_event(info, info->fdev, &info->errmsg, pos))
fake_format_description_event(info, info->fdev, &info->errmsg,
(uint32_t)pos))
{
info->error= ER_MASTER_FATAL_ERROR_READING_BINLOG;
goto err;