diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-11-10 12:21:50 -0200 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-11-10 12:21:50 -0200 |
commit | 63bfe08d560082ac6fc7e21f28e797aabc3718e0 (patch) | |
tree | 757ba5ef1317423810383cd520c246b4bd24f87a /strings/memset.c | |
parent | bda76437ae2bff206e53cbeca352651e361cd045 (diff) | |
download | mariadb-git-63bfe08d560082ac6fc7e21f28e797aabc3718e0.tar.gz |
Backport of Bug#41971 to mysql-next-mr
------------------------------------------------------------
revno: 2617.31.21
revision-id: davi.arnaut@sun.com-20090402193933-2zbhg15kd0z3xh8r
parent: alik@sun.com-20090402081500-78l1hpkx03twe4bf
committer: Davi Arnaut <Davi.Arnaut@Sun.COM>
branch nick: 41971-6.0
timestamp: Thu 2009-04-02 16:39:33 -0300
message:
Bug#41971: Thread state on embedded server is always "Writing to net"
The problem is that the state of a thread on a embedded server is
always displayed as "Writing to net", which is wrong as there is
no "network" in the embedded server.
The solution is only exclude, on a embedded server, the thread
state conditions that are related to network operations. Other
thread states related to waiting on conditions or other operations
are preserved.
sql/sql_show.cc:
Unroll conditionals into a function. Skip check for network
operations on the embedded library. Change use of thread_info::
command to retrieve the command directly from the thread
handle -- they have the same value.
Diffstat (limited to 'strings/memset.c')
0 files changed, 0 insertions, 0 deletions