~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/natural_join_column.h

Further drizzleclient cleanup. Starting to move all NET related functions into Protocol, removed some dead code, removing drizzleclient dependencies spread throughout drizzled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_NATURAL_JOIN_COLUMN_H
21
21
#define DRIZZLED_NATURAL_JOIN_COLUMN_H
22
22
 
 
23
#include <drizzled/sql_alloc.h>
 
24
 
23
25
class Field;
24
 
class Field_translator;
 
26
class TableList;
25
27
 
26
28
/*
27
29
  Column reference of a NATURAL/USING join. Since column references in
28
30
  joins can be both from views and stored tables, may point to either a
29
 
  Field (for tables), or a Field_translator (for views).
 
31
  Field (for tables).
30
32
*/
31
33
 
32
34
class Natural_join_column: public Sql_alloc
43
45
  */
44
46
  bool is_common;
45
47
public:
46
 
  Natural_join_column(Field_translator *field_param, TableList *tab);
47
48
  Natural_join_column(Field *field_param, TableList *tab);
48
49
  const char *name();
49
 
  Item *create_item(THD *thd);
 
50
  Item *create_item(Session *session);
50
51
  Field *field();
51
52
  const char *table_name();
52
53
  const char *db_name();