~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_reference.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 13:41:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707134107-6mi7pauiatxtf4oe
Rename strmake to strdup (standard name)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 * used in the nested loops join implementation.
26
26
 */
27
27
 
28
 
#ifndef DRIZZLED_TABLE_REFERENCE_H
29
 
#define DRIZZLED_TABLE_REFERENCE_H
 
28
#pragma once
30
29
 
31
30
#include <drizzled/base.h>
32
 
#include "drizzled/definitions.h"
33
 
 
34
 
namespace drizzled
35
 
{
36
 
 
37
 
class StoredKey;
38
 
class Item;
 
31
#include <drizzled/definitions.h>
 
32
 
 
33
namespace drizzled {
39
34
 
40
35
struct table_reference_st
41
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
 
42
51
  bool key_err;
43
52
  uint32_t key_parts; /**< num of key parts */
44
53
  uint32_t key_length; /**< length of key_buff */
76
85
 
77
86
} /* namespace drizzled */
78
87
 
79
 
#endif /* DRIZZLED_TABLE_REFERENCE_H */