~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: Brian Aker
  • Date: 2011-01-26 18:29:34 UTC
  • mto: (2122.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2123.
  • Revision ID: brian@tangent.org-20110126182934-hsboi3ab5105on1g
fix test case along with the error message for TIME.

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
}