mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
P_S test failures on 32-bit platforms:
always use intptr type when casting a pointer to an integer to avoid sign expansion. or, at least, cast identically in socket_summary_by_instance and socket_instances
This commit is contained in:
parent
3ff12684ba
commit
cd5a6304b9
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ int table_socket_summary_by_instance::read_row_values(TABLE *table,
|
|||
m_row.m_event_name.set_field(f);
|
||||
break;
|
||||
case 1: /* OBJECT_INSTANCE */
|
||||
set_field_ulonglong(f, (ulonglong)m_row.m_identity);
|
||||
set_field_ulonglong(f, (intptr)m_row.m_identity);
|
||||
break;
|
||||
|
||||
case 2:/* COUNT_STAR */
|
||||
|
|
Loading…
Reference in a new issue