~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: Paweł Blokus
  • Date: 2010-06-09 20:36:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1620.
  • Revision ID: pawel@pawel-desktop-20100609203651-mbq5x34bt9m3kv0o
minor style fixes

Show diffs side-by-side

added added

removed removed

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