~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.h

  • Committer: Brian Aker
  • Date: 2008-08-17 07:27:12 UTC
  • mto: This revision was merged to the branch mainline in revision 346.
  • Revision ID: brian@tangent.org-20080817072712-j01qfnvsm8bfurhl
Removed belong_to_view variable

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    tables but also used in subquery ones) tables of the view.
153
153
  */
154
154
  List<TABLE_LIST> *view_tables;
155
 
  /* most upper view this table belongs to */
156
 
  TABLE_LIST    *belong_to_view;
157
155
  /*
158
156
    List of all base tables local to a subquery including all view
159
157
    tables. Unlike 'next_local', this in this list views are *not*
221
219
  TABLE_LIST *last_leaf_for_name_resolution();
222
220
  bool is_leaf_for_name_resolution();
223
221
  inline TABLE_LIST *top_table()
224
 
    { return belong_to_view ? belong_to_view : this; }
 
222
    { return this; }
225
223
 
226
224
  /*
227
225
    Cleanup for re-execution in a prepared statement or a stored