~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to sql/item.h

  • Committer: monty at mysql
  • Date: 2002-07-23 15:31:22 UTC
  • mto: (1110.1.7)
  • mto: This revision was merged to the branch mainline in revision 1116.
  • Revision ID: sp1r-monty@mashka.mysql.fi-20020723153122-09736
New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
  const char *full_name() const;
99
99
};
100
100
 
 
101
 
101
102
class Item_field :public Item_ident
102
103
{
103
104
  void set_field(Field *field);
193
194
public:
194
195
  Item_uint(const char *str_arg, uint length) :
195
196
    Item_int(str_arg, (longlong) strtoull(str_arg,(char**) 0,10), length) {}
 
197
  Item_uint(uint32 i) :Item_int((longlong) i, 10) {}
196
198
  double val() { return ulonglong2double(value); }
197
199
  String *val_str(String*);
198
200
  void make_field(Send_field *field);
478
480
extern Item_result item_cmp_type(Item_result a,Item_result b);
479
481
extern Item *resolve_const_item(Item *item,Item *cmp_item);
480
482
extern bool field_is_equal_to_item(Field *field,Item *item);
481
 
Item *get_system_var(LEX_STRING name);