~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: lbieber
  • Date: 2010-10-05 22:23:12 UTC
  • mfrom: (1813.1.4 build)
  • Revision ID: lbieber@orisndriz08-20101005222312-weuq0ardk3gcryau
Merge Travis - 621861 - convert structs to classes
Merge Billy - 621331 - Replace use of stringstream with boost::lexical_cast
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle
Merge Andrew - fix bug 653300 - Syntax error on inport of a SQL file produced by drizzledump

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
class Table;
40
40
class Field;
41
41
 
42
 
struct KeyPartInfo {    /* Info about a key part */
 
42
class KeyPartInfo 
 
43
{       /* Info about a key part */
 
44
public:
43
45
  Field *field;
44
46
  unsigned int  offset;                         /* offset in record (from 0) */
45
47
  unsigned int  null_offset;                    /* Offset to null_bit in record */
68
70
};
69
71
 
70
72
 
71
 
struct KeyInfo {
 
73
class KeyInfo 
 
74
{
 
75
public:
72
76
  unsigned int  key_length;             /* Tot length of key */
73
77
  enum  ha_key_alg algorithm;
74
78
  unsigned long flags;                  /* dupp key and pack flags */
91
95
 
92
96
class JoinTable;
93
97
 
94
 
struct RegInfo {                /* Extra info about reg */
 
98
class RegInfo 
 
99
{
 
100
public:         /* Extra info about reg */
95
101
  JoinTable *join_tab;  /* Used by SELECT() */
96
102
  enum thr_lock_type lock_type;         /* How database is used */
97
103
  bool not_exists_optimize;