1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00
This commit is contained in:
Sergei Golubchik
2016-02-16 18:56:39 +01:00
parent 6bb292f1bc
commit 7e22a1d843
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -251,7 +251,8 @@ void table_session_connect::make_row(PFS_thread *pfs, uint ordinal)
&m_row.m_attr_value_length))
{
/* we don't expect internal threads to have connection attributes */
DBUG_ASSERT(pfs->m_processlist_id != 0);
if (pfs->m_processlist_id == 0)
return;
m_row.m_ordinal_position= ordinal;
m_row.m_process_id= pfs->m_processlist_id;