~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: Monty Taylor
  • Date: 2009-12-29 18:26:43 UTC
  • mfrom: (1257 build)
  • mto: This revision was merged to the branch mainline in revision 1258.
  • Revision ID: mordred@inaugust.com-20091229182643-bv3c4va7rit6wmvl
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include <drizzled/item/row.h>
21
21
 
 
22
using namespace drizzled;
 
23
 
22
24
/**
23
25
  Row items used for comparing rows and IN operations on rows:
24
26
 
39
41
 
40
42
  //TODO: think placing 2-3 component items in item (as it done for function)
41
43
  if ((arg_count= arg.elements))
42
 
    items= (Item**) sql_alloc(sizeof(Item*)*arg_count);
 
44
    items= (Item**) memory::sql_alloc(sizeof(Item*)*arg_count);
43
45
  else
44
46
    items= 0;
45
47
  List_iterator<Item> li(arg);