~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/outer_ref.h

  • Committer: Brian Aker
  • Date: 2009-01-07 09:27:07 UTC
  • Revision ID: brian@tangent.org-20090107092707-bn67qpdllfcyh3j9
Removing dead field translator code.

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
#include <drizzled/item/direct_ref.h>
 
21
 
20
22
#ifndef DRIZZLED_ITEM_OUTER_REF_H
21
23
#define DRIZZLED_ITEM_OUTER_REF_H
22
24
 
23
 
#include "drizzled/item/ref.h"
24
 
#include "drizzled/item/direct_ref.h"
25
 
#include "drizzled/item/field.h"
 
25
#include <drizzled/item/ref.h>
 
26
#include <drizzled/item/direct_ref.h>
26
27
 
27
28
/*
28
29
  Class for outer fields.
34
35
  Item_field::fix_outer_field() functions.
35
36
*/
36
37
 
37
 
namespace drizzled
38
 
{
39
 
 
40
38
class Item_outer_ref :public Item_direct_ref
41
39
{
42
40
public:
71
69
    outer_ref->save_org_in_field(result_field);
72
70
  }
73
71
  bool fix_fields(Session *, Item **);
74
 
  void fix_after_pullout(Select_Lex *new_parent, Item **ref);
 
72
  void fix_after_pullout(st_select_lex *new_parent, Item **ref);
75
73
  table_map used_tables() const
76
74
  {
77
75
    return (*ref)->const_item() ? 0 : OUTER_REF_TABLE_BIT;
79
77
  virtual Ref_Type ref_type() { return OUTER_REF; }
80
78
};
81
79
 
82
 
} /* namespace drizzled */
83
80
 
84
81
#endif /* DRIZZLED_ITEM_OUTER_REF_H */