~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: Brian Aker
  • Date: 2010-12-19 06:20:54 UTC
  • mfrom: (2005.1.1 bug673105)
  • Revision ID: brian@tangent.org-20101219062054-1kt0l3dxs4z2z8md
Merge Dave.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
  Item::cleanup();
100
100
  /* Reset to the original values */
101
101
  used_tables_cache= 0;
102
 
  const_item_cache= true;
 
102
  const_item_cache= 1;
103
103
  with_null= 0;
104
104
 
105
105
  return;
118
118
void Item_row::update_used_tables()
119
119
{
120
120
  used_tables_cache= 0;
121
 
  const_item_cache= true;
 
121
  const_item_cache= 1;
122
122
  for (uint32_t i= 0; i < arg_count; i++)
123
123
  {
124
124
    items[i]->update_used_tables();
130
130
void Item_row::fix_after_pullout(Select_Lex *new_parent, Item **)
131
131
{
132
132
  used_tables_cache= 0;
133
 
  const_item_cache= true;
 
133
  const_item_cache= 1;
134
134
  for (uint32_t i= 0; i < arg_count; i++)
135
135
  {
136
136
    items[i]->fix_after_pullout(new_parent, &items[i]);
188
188
      change records at each execution.
189
189
    */
190
190
    if (items[i] != new_item)
191
 
      getSession().change_item_tree(&items[i], new_item);
 
191
      current_session->change_item_tree(&items[i], new_item);
192
192
  }
193
193
  return (this->*transformer)(arg);
194
194
}