~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

Merged remove-dead-Item-save_in_field_no_warnings into fix-order_st-BY-comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "drizzled/memory/sql_alloc.h"
29
29
#include <drizzled/table.h>
30
30
 
 
31
namespace drizzled
 
32
{
 
33
 
31
34
class TableList;
32
35
class Item_field;
33
36
class Name_resolution_context;
39
42
class SendField;
40
43
class Field;
41
44
 
42
 
namespace drizzled
43
 
{
44
45
namespace plugin
45
46
{
46
47
class Client;
47
48
}
48
 
}
 
49
 
49
50
 
50
51
/**
51
52
  Dummy error processor used by default by Name_resolution_context.
76
77
 * statement "tree" or Lex.  Each item represents something in the
77
78
 * execution plan.
78
79
 */
79
 
class Item: public drizzled::memory::SqlAlloc
 
80
class Item: public memory::SqlAlloc
80
81
{
81
82
  /* Prevent use of these */
82
83
  Item(const Item &);
231
232
  /**
232
233
   * This is only called from items that is not of type item_field.
233
234
   */
234
 
  virtual bool send(drizzled::plugin::Client *client, String *str);
 
235
  virtual bool send(plugin::Client *client, String *str);
235
236
  /**
236
237
    Compares this Item to another Item, returning true if Item's
237
238
    are functionally equal.
666
667
  virtual bool collect_item_field_processor(unsigned char * arg);
667
668
  virtual bool find_item_in_field_list_processor(unsigned char *arg);
668
669
  virtual bool change_context_processor(unsigned char *context);
669
 
  virtual bool reset_query_id_processor(unsigned char *query_id_arg);
670
670
  virtual bool register_field_in_read_map(unsigned char *arg);
671
671
  virtual bool subst_argument_checker(unsigned char **arg);
672
672
 
753
753
  bool eq_by_collation(Item *item, bool binary_cmp, const CHARSET_INFO * const cs);
754
754
};
755
755
 
 
756
} /* namespace drizzled */
 
757
 
 
758
/** @TODO Why is this in the middle? */
756
759
#include <drizzled/item/ident.h>
757
760
 
 
761
namespace drizzled
 
762
{
 
763
 
758
764
/**
759
765
  Mark item and Select_Lexs as dependent if item was resolved in
760
766
  outer SELECT.
889
895
                        bool make_copy_field,
890
896
                        uint32_t convert_blob_length);
891
897
 
 
898
} /* namespace drizzled */
 
899
 
892
900
#endif /* DRIZZLED_ITEM_H */