~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_reference.h

Does not work (compile issue in plugin).

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
25
25
 * used in the nested loops join implementation.
26
26
 */
27
27
 
28
 
#pragma once
 
28
#ifndef DRIZZLED_TABLE_REFERENCE_H
 
29
#define DRIZZLED_TABLE_REFERENCE_H
29
30
 
30
31
#include <drizzled/base.h>
31
 
#include <drizzled/definitions.h>
32
 
 
33
 
namespace drizzled {
 
32
#include <drizzled/sql_bitmap.h>
 
33
 
 
34
namespace drizzled
 
35
{
 
36
 
 
37
class StoredKey;
 
38
class Item;
34
39
 
35
40
struct table_reference_st
36
41
{
37
 
  table_reference_st() :
38
 
    key_err(false),
39
 
    key_parts(0),
40
 
    key_length(0),
41
 
    key(0),
42
 
    key_buff(NULL),
43
 
    key_buff2(NULL),
44
 
    key_copy(NULL),
45
 
    items(NULL),
46
 
    cond_guards(NULL),
47
 
    null_ref_key(NULL),
48
 
    disable_cache(false)
49
 
  { }
50
 
 
51
42
  bool key_err;
52
43
  uint32_t key_parts; /**< num of key parts */
53
44
  uint32_t key_length; /**< length of key_buff */
85
76
 
86
77
} /* namespace drizzled */
87
78
 
 
79
#endif /* DRIZZLED_TABLE_REFERENCE_H */