~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/uniques.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:
45
45
using namespace CMATH_NAMESPACE;
46
46
#endif
47
47
 
 
48
using namespace drizzled;
48
49
using namespace std;
49
50
 
50
51
 
71
72
Unique::Unique(qsort_cmp2 comp_func, void * comp_func_fixed_arg,
72
73
               uint32_t size_arg, size_t max_in_memory_size_arg)
73
74
  : max_in_memory_size(max_in_memory_size_arg),
74
 
    file(static_cast<IO_CACHE *>(sql_calloc(sizeof(IO_CACHE)))),
 
75
    file(static_cast<IO_CACHE *>(memory::sql_calloc(sizeof(IO_CACHE)))),
75
76
    size(size_arg),
76
77
    elements(0)
77
78
{