mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03: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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user