~eday/drizzle/eday-dev

« back to all changes in this revision

Viewing changes to drizzled/cached_item.cc

  • Committer: Eric Day
  • Date: 2010-01-07 20:02:38 UTC
  • mfrom: (971.3.291 staging)
  • Revision ID: eday@oddments.org-20100107200238-uqw8v6kv9pl7nny5
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
  Buffers to save and compare item values
25
25
*/
26
26
 
27
 
#include <drizzled/server_includes.h>
 
27
#include "config.h"
28
28
#include <drizzled/cached_item.h>
29
29
#include <drizzled/sql_string.h>
30
30
#include <drizzled/session.h>
31
31
#include <algorithm>
32
32
 
 
33
using namespace drizzled;
33
34
using namespace std;
34
35
 
35
36
/**
137
138
    field(arg_field)
138
139
{
139
140
  /* TODO: take the memory allocation below out of the constructor. */
140
 
  buff= (unsigned char*) sql_calloc(length= field->pack_length());
 
141
  buff= (unsigned char*) memory::sql_calloc(length= field->pack_length());
141
142
}
142
143
 
143
144
bool Cached_item_field::cmp(void)