~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
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;