mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed some mtr tests that failed on windows
Most things where wrong in the test suite. The one thing that was a bug was that table_map_id was in some places defined as ulong and in other places as ulonglong. On Linux 64 bit this is not a problem as ulong == ulonglong, but on windows this caused failures. Fixed by ensuring that all instances of table_map_id are ulonglong.
This commit is contained in:
@@ -7005,7 +7005,8 @@ THD::binlog_prepare_pending_rows_event(TABLE* table, uint32 serv_id,
|
||||
{
|
||||
DBUG_ENTER("binlog_prepare_pending_rows_event");
|
||||
/* Pre-conditions */
|
||||
DBUG_ASSERT(table->s->table_map_id != ~0UL);
|
||||
DBUG_ASSERT((table->s->table_map_id & MAX_TABLE_MAP_ID) != UINT32_MAX &&
|
||||
(table->s->table_map_id & MAX_TABLE_MAP_ID) != 0);
|
||||
|
||||
/* Fetch the type code for the RowsEventT template parameter */
|
||||
int const general_type_code= RowsEventT::TYPE_CODE;
|
||||
|
Reference in New Issue
Block a user