~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ident.h

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_ITEM_IDENT_H
21
 
#define DRIZZLED_ITEM_IDENT_H
22
 
 
23
 
#include "drizzled/item.h"
24
 
 
25
 
namespace drizzled
26
 
{
 
20
#pragma once
 
21
 
 
22
#include <drizzled/item.h>
 
23
 
 
24
namespace drizzled {
27
25
 
28
26
extern uint32_t lower_case_table_names;
29
27
 
66
64
  const char *full_name() const;
67
65
  void cleanup();
68
66
  bool remove_dependence_processor(unsigned char * arg);
69
 
  virtual void print(String *str, enum_query_type query_type);
 
67
  virtual void print(String *str);
70
68
  virtual bool change_context_processor(unsigned char *cntx)
71
69
    { context= (Name_resolution_context *)cntx; return false; }
72
70
  friend bool insert_fields(Session *session, Name_resolution_context *context,
73
71
                            const char *db_name,
74
 
                            const char *table_name, List_iterator<Item> *it,
 
72
                            const char *table_name, List<Item>::iterator *it,
75
73
                            bool any_privileges);
76
74
};
77
75
 
92
90
  double val_real();
93
91
  int64_t val_int();
94
92
  String *val_str(String *str);
95
 
  my_decimal *val_decimal(my_decimal *dec);
 
93
  type::Decimal *val_decimal(type::Decimal *dec);
96
94
  void make_field(SendField *tmp_field);
97
95
};
98
96
 
99
97
} /* namespace drizzled */
100
98
 
101
 
#endif /* DRIZZLED_ITEM_IDENT_H */