From: Date: March 6 2007 10:56pm Subject: bk commit into 5.0 tree (tsmith:1.2458) BUG#25075 List-Archive: http://lists.mysql.com/commits/21305 X-Bug: 25075 Message-Id: <20070306215605.1ED37D8279@siva.hindu.god> Below is the list of changes that have just been committed into a local 5.0 repository of tsmith. When tsmith 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, 2007-03-06 14:55:52-07:00, tsmith@stripped +1 -0 Bug #25075: sql_class.cc doesn't compile with --without-query-cache Wrap query_cache_init_query() call with #ifdef HAVE_QUERY_CACHE in THD::THD() sql/sql_class.cc@stripped, 2007-03-06 14:55:48-07:00, tsmith@stripped +2 -0 Bug #25075: sql_class.cc doesn't compile with --without-query-cache Wrap query_cache_init_query() call with #ifdef HAVE_QUERY_CACHE in THD::THD() # 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: tsmith # Host: siva.hindu.god # Root: /home/tsmith/m/bk/maint/mar05/50 --- 1.258/sql/sql_class.cc 2007-02-14 06:45:13 -07:00 +++ 1.259/sql/sql_class.cc 2007-03-06 14:55:48 -07:00 @@ -224,7 +224,9 @@ #endif client_capabilities= 0; // minimalistic client net.last_error[0]=0; // If error on boot +#ifdef HAVE_QUERY_CACHE query_cache_init_query(&net); // If error on boot +#endif ull=0; system_thread= cleanup_done= abort_on_warning= no_warnings_for_error= 0; peer_port= 0; // For SHOW PROCESSLIST