summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_socket_instances.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_socket_instances.cc')
-rw-r--r--storage/perfschema/table_socket_instances.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/perfschema/table_socket_instances.cc b/storage/perfschema/table_socket_instances.cc
index f913c8fcc65..0fa1d2b1a3a 100644
--- a/storage/perfschema/table_socket_instances.cc
+++ b/storage/perfschema/table_socket_instances.cc
@@ -42,7 +42,7 @@ static const TABLE_FIELD_TYPE field_types[]=
},
{
{ C_STRING_WITH_LEN("THREAD_ID") },
- { C_STRING_WITH_LEN("int(11)") },
+ { C_STRING_WITH_LEN("bigint(20)") },
{ NULL, 0}
},
{
@@ -205,7 +205,7 @@ int table_socket_instances::read_row_values(TABLE *table,
break;
case 2: /* THREAD_ID */
if (m_row.m_thread_id_set)
- set_field_ulong(f, m_row.m_thread_id);
+ set_field_ulonglong(f, m_row.m_thread_id);
else
f->set_null();
break;