~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache.h

  • Committer: Monty Taylor
  • Date: 2009-04-25 19:24:49 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090425192449-0htujbt2r9jzupn5
Moved heap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_ITEM_CACHE_H
21
21
#define DRIZZLED_ITEM_CACHE_H
22
22
 
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"
27
 
 
28
 
namespace drizzled
29
 
{
 
23
#include <drizzled/item/ident.h>
 
24
#include <drizzled/item/field.h>
30
25
 
31
26
class Item_cache: public Item_basic_constant
32
27
{
82
77
  {
83
78
    return this == item;
84
79
  }
85
 
  bool basic_const_item() const
86
 
  {
87
 
    return test(example && example->basic_const_item());
88
 
  }
89
80
};
90
81
 
91
 
} /* namespace drizzled */
92
 
 
93
82
#endif /* DRIZZLED_ITEM_CACHE_H */