~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache.h

  • Committer: patrick crews
  • Date: 2011-06-08 03:02:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2329.
  • Revision ID: gleebix@gmail.com-20110608030227-updkyv2652zvfajc
Initial voodoo worked to give us a crashme mode.  Need docs still

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 Sun Microsystems
 
4
 *  Copyright (C) 2008 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
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_ITEM_CACHE_H
21
 
#define DRIZZLED_ITEM_CACHE_H
 
20
#pragma once
22
21
 
23
 
#include "drizzled/item/ident.h"
24
 
#include "drizzled/item/field.h"
25
 
#include "drizzled/item/basic_constant.h"
26
 
#include "drizzled/util/test.h"
 
22
#include <drizzled/item/basic_constant.h>
 
23
#include <drizzled/item/field.h>
 
24
#include <drizzled/item/ident.h>
 
25
#include <drizzled/type/decimal.h>
 
26
#include <drizzled/util/test.h>
27
27
 
28
28
namespace drizzled
29
29
{
76
76
  static Item_cache* get_cache(const Item *item);
77
77
  table_map used_tables() const { return used_table_map; }
78
78
  virtual void keep_array() {}
79
 
  virtual void print(String *str, enum_query_type query_type);
 
79
  virtual void print(String *str);
80
80
  bool eq_def(Field *field);
81
81
  bool eq(const Item *item, bool) const
82
82
  {
90
90
 
91
91
} /* namespace drizzled */
92
92
 
93
 
#endif /* DRIZZLED_ITEM_CACHE_H */