~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ident.h

  • Committer: Brian Aker
  • Date: 2010-10-09 17:44:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1853.
  • Revision ID: brian@tangent.org-20101009174413-4cs0q58kw0fjd45y
First pass through adding back user_locks.

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, Inc.
 
4
 *  Copyright (C) 2008 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
20
20
#ifndef DRIZZLED_ITEM_IDENT_H
21
21
#define DRIZZLED_ITEM_IDENT_H
22
22
 
23
 
#include <drizzled/item.h>
 
23
#include "drizzled/item.h"
24
24
 
25
25
namespace drizzled
26
26
{
27
27
 
28
 
class Name_resolution_context;
29
 
class TableList;
30
28
extern uint32_t lower_case_table_names;
31
29
 
32
30
class Item_ident :public Item
73
71
    { context= (Name_resolution_context *)cntx; return false; }
74
72
  friend bool insert_fields(Session *session, Name_resolution_context *context,
75
73
                            const char *db_name,
76
 
                            const char *table_name, List<Item>::iterator *it,
 
74
                            const char *table_name, List_iterator<Item> *it,
77
75
                            bool any_privileges);
78
76
};
79
77
 
94
92
  double val_real();
95
93
  int64_t val_int();
96
94
  String *val_str(String *str);
97
 
  type::Decimal *val_decimal(type::Decimal *dec);
 
95
  my_decimal *val_decimal(my_decimal *dec);
98
96
  void make_field(SendField *tmp_field);
99
97
};
100
98