~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_reference.h

  • Committer: Jay Pipes
  • Date: 2010-03-09 20:02:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1339.
  • Revision ID: jpipes@serialcoder-20100309200229-dfrliy4fads9vyf4
Fixes Bug #535296 by only incrementing ha_commit_count when its a normal transaction commit.

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>
 
32
#include <drizzled/sql_bitmap.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
 
 
56
42
  bool key_err;
57
43
  uint32_t key_parts; /**< num of key parts */
58
44
  uint32_t key_length; /**< length of key_buff */