From: kent Date: December 12 2005 2:50pm Subject: bk commit into 5.1 tree (kent:1.1953) List-Archive: http://lists.mysql.com/commits/72 Message-Id: <20051212145012.47346777B02@boortz.dyndns.org> Below is the list of changes that have just been committed into a local 5.1 repository of kent. When kent 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 1.1953 05/12/12 15:49:41 kent@stripped +1 -0 Merge kboortz@stripped:/home/bk/mysql-5.1-new into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new sql/sp_head.cc 1.205 05/12/12 15:49:34 kent@stripped +0 -0 Auto merged # 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: kent # Host: c-664072d5.010-2112-6f72651.cust.bredbandsbolaget.se # Root: /Users/kent/mysql/bk/mysql-5.1-new/RESYNC --- 1.204/sql/sp_head.cc 2005-12-12 12:30:12 +01:00 +++ 1.205/sql/sp_head.cc 2005-12-12 15:49:34 +01:00 @@ -3244,10 +3244,12 @@ SYNOPSIS add_used_tables_to_table_list() - thd - thread context - query_tables_last_ptr - (in/out) pointer the next_global member of last - element of the list where tables will be added - (or to its root). + thd [in] Thread context + query_tables_last_ptr [in/out] Pointer to the next_global member of + last element of the list where tables + will be added (or to its root). + belong_to_view [in] Uppermost view which uses this routine, + 0 if none. DESCRIPTION Converts multi-set of tables used by this routine to table list and adds @@ -3262,7 +3264,8 @@ bool sp_head::add_used_tables_to_table_list(THD *thd, - TABLE_LIST ***query_tables_last_ptr) + TABLE_LIST ***query_tables_last_ptr, + TABLE_LIST *belong_to_view) { uint i; Query_arena *arena, backup; @@ -3305,6 +3308,7 @@ table->lock_type= stab->lock_type; table->cacheable_table= 1; table->prelocking_placeholder= 1; + table->belong_to_view= belong_to_view; /* Everyting else should be zeroed */