mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-21117 post-push fixes
1. work around MDEV-25912 to not apply assert at wsrep running time; 2. handle wsrep mode of the server recovery 3. convert hton calls to static binlog_commit ones. 4. satisfy MSAN complain on uninitialized std::pair
This commit is contained in:
@@ -2624,6 +2624,11 @@ Gtid_log_event::Gtid_log_event(const uchar *buf, uint event_len,
|
||||
*/
|
||||
DBUG_ASSERT(static_cast<uint>(buf - buf_0) <= event_len);
|
||||
/* and the last of them is tested. */
|
||||
#ifdef MYSQL_SERVER
|
||||
#ifdef WITH_WSREP
|
||||
if (!WSREP_ON)
|
||||
#endif
|
||||
#endif
|
||||
DBUG_ASSERT(static_cast<uint>(buf - buf_0) == event_len ||
|
||||
buf_0[event_len - 1] == 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user