~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.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_ROW_H
21
 
#define DRIZZLED_ITEM_ROW_H
 
20
#pragma once
22
21
 
23
 
#include "drizzled/item.h"
 
22
#include <drizzled/item.h>
24
23
 
25
24
namespace drizzled
26
25
{
68
67
    illegal_method_call((const char*)"val_str");
69
68
    return 0;
70
69
  };
71
 
  my_decimal *val_decimal(my_decimal *)
 
70
  type::Decimal *val_decimal(type::Decimal *)
72
71
  {
73
72
    illegal_method_call((const char*)"val_decimal");
74
73
    return 0;
81
80
  bool const_item() const { return const_item_cache; };
82
81
  enum Item_result result_type() const { return ROW_RESULT; }
83
82
  void update_used_tables();
84
 
  virtual void print(String *str, enum_query_type query_type);
 
83
  virtual void print(String *str);
85
84
 
86
85
  bool walk(Item_processor processor, bool walk_subquery, unsigned char *arg);
87
86
  Item *transform(Item_transformer transformer, unsigned char *arg);
96
95
 
97
96
} /* namespace drizzled */
98
97
 
99
 
#endif /* DRIZZLED_ITEM_ROW_H */