~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/user_var_entry.h

  • Committer: Lee Bieber
  • Date: 2011-03-16 18:11:33 UTC
  • mfrom: (2239.2.2 build)
  • Revision ID: kalebral@gmail.com-20110316181133-zr1uj612rz7s32s0
Merge Patrick - Added some randgen test cases
Merge Olaf - refactor includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/dtcollation.h>
24
24
#include <drizzled/query_id.h>
 
25
#include <drizzled/item_result.h>
25
26
 
26
 
namespace drizzled
27
 
{
 
27
namespace drizzled {
28
28
 
29
29
namespace type { class Decimal; }
30
30
 
48
48
 
49
49
  ~user_var_entry()
50
50
  {
51
 
    if (name.str) 
52
 
      free(name.str);
 
51
    free(name.str);
 
52
    free(value);
 
53
  }
53
54
 
54
 
    if (value) 
55
 
      free(value);
56
 
  }
57
55
  LEX_STRING name;
58
56
  char *value;
59
57
  ulong length;