Below is the list of changes that have just been committed into a local
4.1 repository of andrey. When andrey does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-10-18 17:19:17+02:00, andrey@stripped +1 -0
Fix for bug#23379 "wrong time value in SHOW PROCESSLIST"
The value taken to be shown in SHOW PROCESSLIST is not
initialized when THD is created and will be random for
unauthenticated connections.
To the documentor: Random value, instead of NULL, was shown,
in SHOW PROCESSLIST for still non-authenticated connections.
sql/sql_class.cc@stripped, 2006-10-18 17:19:10+02:00, andrey@stripped +1 -1
Initialize time_after_lock.
It is used from SHOW PROCESSLIST's code. If not initialized
random value is shown for connected but still unauthenticated
clients in the column Time.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: andrey
# Host: example.com
# Root: /work/bug23379/my41-bug23379
--- 1.208/sql/sql_class.cc 2006-10-18 17:19:24 +02:00
+++ 1.209/sql/sql_class.cc 2006-10-18 17:19:24 +02:00
@@ -180,7 +180,7 @@ THD::THD()
statement_id_counter= 0UL;
// Must be reset to handle error with THD's created for init of mysqld
lex->current_select= 0;
- start_time=(time_t) 0;
+ start_time= time_after_lock= (time_t) 0;
current_linfo = 0;
slave_thread = 0;
variables.pseudo_thread_id= 0;
| Thread |
|---|
| • bk commit into 4.1 tree (andrey:1.2542) BUG#23379 | ahristov | 18 Oct |