~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_reference.h

  • Committer: Patrick Crews
  • Date: 2011-01-29 14:17:35 UTC
  • mto: (2126.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: gleebix@gmail.com-20110129141735-3y2658vt5ur0a33o
Fixes to make test-dbqp

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
 
4
 *  Copyright (C) 2008-2009 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
29
29
#define DRIZZLED_TABLE_REFERENCE_H
30
30
 
31
31
#include <drizzled/base.h>
32
 
#include <drizzled/sql_bitmap.h>
 
32
#include "drizzled/definitions.h"
33
33
 
34
34
namespace drizzled
35
35
{
39
39
 
40
40
struct table_reference_st
41
41
{
 
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
 
42
56
  bool key_err;
43
57
  uint32_t key_parts; /**< num of key parts */
44
58
  uint32_t key_length; /**< length of key_buff */