Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/mysql_system_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,7 @@ DROP PREPARE stmt;
--

SET @cmd="CREATE TABLE performance_schema.session_connect_attrs("
"PROCESSLIST_ID INT NOT NULL,"
"PROCESSLIST_ID BIGINT UNSIGNED NOT NULL,"
"ATTR_NAME VARCHAR(32) NOT NULL,"
"ATTR_VALUE VARCHAR(1024),"
"ORDINAL_POSITION INT"
Expand Down
4 changes: 2 additions & 2 deletions storage/perfschema/table_session_connect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static const TABLE_FIELD_TYPE field_types[]=
{
{
{ C_STRING_WITH_LEN("PROCESSLIST_ID") },
{ C_STRING_WITH_LEN("int(11)") },
{ C_STRING_WITH_LEN("bigint(20)") },
{ NULL, 0}
},
{
Expand Down Expand Up @@ -284,7 +284,7 @@ int table_session_connect::read_row_values(TABLE *table,
{
case FO_PROCESS_ID:
if (m_row.m_process_id != 0)
set_field_ulong(f, m_row.m_process_id);
set_field_ulonglong(f, m_row.m_process_id);
else
f->set_null();
break;
Expand Down