Fix the build after MDEV-17803
Use the same data type 'ulong' to avoid type mismatch on Windows and on 32-bit systems. FIXME: The correct data type should probably be 64-bit.
This commit is contained in:
parent
25161e6219
commit
fab531a150
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2000, 2018, Oracle and/or its affiliates.
|
Copyright (c) 2000, 2018, Oracle and/or its affiliates.
|
||||||
Copyright (c) 2009, 2018, MariaDB
|
Copyright (c) 2009, 2019, MariaDB
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -12093,7 +12093,7 @@ int Table_map_log_event::do_apply_event(rpl_group_info *rgi)
|
|||||||
table_list->updating= 1;
|
table_list->updating= 1;
|
||||||
table_list->required_type= FRMTYPE_TABLE;
|
table_list->required_type= FRMTYPE_TABLE;
|
||||||
|
|
||||||
DBUG_PRINT("debug", ("table: %s is mapped to %u", table_list->table_name,
|
DBUG_PRINT("debug", ("table: %s is mapped to %lu", table_list->table_name,
|
||||||
table_list->table_id));
|
table_list->table_id));
|
||||||
table_list->master_had_triggers= ((m_flags & TM_BIT_HAS_TRIGGERS_F) ? 1 : 0);
|
table_list->master_had_triggers= ((m_flags & TM_BIT_HAS_TRIGGERS_F) ? 1 : 0);
|
||||||
DBUG_PRINT("debug", ("table->master_had_triggers=%d",
|
DBUG_PRINT("debug", ("table->master_had_triggers=%d",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef TABLE_INCLUDED
|
#ifndef TABLE_INCLUDED
|
||||||
#define TABLE_INCLUDED
|
#define TABLE_INCLUDED
|
||||||
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
|
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
|
||||||
Copyright (c) 2009, 2018, MariaDB
|
Copyright (c) 2009, 2019, MariaDB
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -1892,7 +1892,7 @@ struct TABLE_LIST
|
|||||||
/* Index names in a "... JOIN ... USE/IGNORE INDEX ..." clause. */
|
/* Index names in a "... JOIN ... USE/IGNORE INDEX ..." clause. */
|
||||||
List<Index_hint> *index_hints;
|
List<Index_hint> *index_hints;
|
||||||
TABLE *table; /* opened table */
|
TABLE *table; /* opened table */
|
||||||
ulonglong table_id; /* table id (from binlog) for opened table */
|
ulong table_id; /* table id (from binlog) for opened table */
|
||||||
/*
|
/*
|
||||||
select_result for derived table to pass it from table creation to table
|
select_result for derived table to pass it from table creation to table
|
||||||
filling procedure
|
filling procedure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user