diff options
author | Konstantin Osipov <kostja@sun.com> | 2009-11-20 23:30:00 +0300 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2009-11-20 23:30:00 +0300 |
commit | 8d33101179a3983b04c5314a9600229ff012d02f (patch) | |
tree | dc28e372f770d368a0be5a66f2c06c3e16837bda /mysql-test/t/sp-error.test | |
parent | 98c4476b49b19a289ec61a645a22deea8c4ef8ee (diff) | |
download | mariadb-git-8d33101179a3983b04c5314a9600229ff012d02f.tar.gz |
Backport of:
------------------------------------------------------------
revno: 2572.23.1
committer: davi@mysql.com/endora.local
timestamp: Wed 2008-03-19 09:03:08 -0300
message:
Bug#17954 Threads_connected > Threads_created
The problem is that insert delayed threads are counted as connected
but not as created, leading to a Threads_connected value greater then
the Threads_created value.
The solution is to enforce the documented behavior that the
Threads_connected value shall be the number of currently
open connections and that Threads_created shall be the
number of threads created to handle connections.
mysql-test/r/status.result:
Add test case result for Bug#17954
mysql-test/t/status.test:
Add test case for Bug#17954
sql/mysqld.cc:
Change Threads_connected to reflect the number of
open connections. SHOW_INT type variables are not
reset.
Diffstat (limited to 'mysql-test/t/sp-error.test')
0 files changed, 0 insertions, 0 deletions