~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: Andrew Hutchings
  • Date: 2011-01-10 16:11:45 UTC
  • mto: (2069.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2070.
  • Revision ID: andrew@linuxjedi.co.uk-20110110161145-isdc0ncbo2hx2n5c
Fix pandora error message

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include <config.h>
 
16
#include "config.h"
17
17
#include <drizzled/error.h>
18
18
#include <drizzled/session.h>
19
19
 
45
45
    items= (Item**) memory::sql_alloc(sizeof(Item*)*arg_count);
46
46
  else
47
47
    items= 0;
48
 
  List<Item>::iterator li(arg.begin());
 
48
  List_iterator<Item> li(arg);
49
49
  uint32_t i= 0;
50
50
  Item *item;
51
51
  while ((item= li++))
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
}