Commit cd5a6304 authored by Sergei Golubchik's avatar Sergei Golubchik

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
parent 3ff12684
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment