drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
table_reference.h
Go to the documentation of this file.
1/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3 *
4 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
27
28#pragma once
29
30#include <drizzled/base.h>
32
33namespace drizzled {
34
35struct table_reference_st
36{
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 bool key_err;
52 uint32_t key_parts;
53 uint32_t key_length;
54 int32_t key;
55 unsigned char *key_buff;
56 unsigned char *key_buff2;
75 key_part_map null_rejecting;
76 table_map depend_map;
78 unsigned char *null_ref_key;
84};
85
86} /* namespace drizzled */
87
TODO: Rename this file - func.h is stupid.