~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_reference.h

  • Committer: Brian Aker
  • Date: 2009-11-18 06:24:48 UTC
  • mfrom: (1220.1.15 staging)
  • Revision ID: brian@gaz-20091118062448-o36lo3yv81sc6u9z
Merge Brian + Stewart

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-2009 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008-2009 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
29
29
#define DRIZZLED_TABLE_REFERENCE_H
30
30
 
31
31
#include <drizzled/base.h>
32
 
#include "drizzled/definitions.h"
33
 
 
34
 
namespace drizzled
35
 
{
 
32
#include <drizzled/sql_bitmap.h>
36
33
 
37
34
class StoredKey;
38
35
class Item;
39
36
 
40
37
struct table_reference_st
41
38
{
42
 
  table_reference_st() :
43
 
    key_err(false),
44
 
    key_parts(0),
45
 
    key_length(0),
46
 
    key(0),
47
 
    key_buff(NULL),
48
 
    key_buff2(NULL),
49
 
    key_copy(NULL),
50
 
    items(NULL),
51
 
    cond_guards(NULL),
52
 
    null_ref_key(NULL),
53
 
    disable_cache(false)
54
 
  { }
55
 
 
56
39
  bool key_err;
57
40
  uint32_t key_parts; /**< num of key parts */
58
41
  uint32_t key_length; /**< length of key_buff */
88
71
  bool disable_cache;
89
72
};
90
73
 
91
 
} /* namespace drizzled */
92
 
 
93
74
#endif /* DRIZZLED_TABLE_REFERENCE_H */