~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: patrick crews
  • Date: 2010-09-29 15:15:19 UTC
  • mfrom: (1099.4.188 drizzle)
  • Revision ID: gleebix@gmail.com-20100929151519-6mrmzd1ciw2p9nws
Tags: 2010.09.1802
Update translations

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, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
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
 
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;