~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

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
}