~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.cc

  • Committer: Monty Taylor
  • Date: 2009-12-27 00:49:03 UTC
  • mto: This revision was merged to the branch mainline in revision 1255.
  • Revision ID: mordred@inaugust.com-20091227004903-maw7ktxu6i6hye9b
Moved mem_root functions into drizzled::memory:: namespace.

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);