From: Date: October 18 2006 2:39pm Subject: bk commit into 4.1 tree (andrey:1.2542) BUG#23379 List-Archive: http://lists.mysql.com/commits/13863 X-Bug: 23379 Message-Id: <20061018123954.1DDC6F864@andrey.hristov.com> 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 14:39:47+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 14:39:45+02:00, andrey@stripped +1 -1 Initialize time_after_lock. It is used from SHOW PROCESSLIST's code. It can happen that if connection is opened but not authenticated that the reported time is random value. # 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 14:39:54 +02:00 +++ 1.209/sql/sql_class.cc 2006-10-18 14:39:54 +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;