diff options
author | unknown <monty@hundin.mysql.fi> | 2002-03-22 14:03:42 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-03-22 14:03:42 +0200 |
commit | 8f2f1597500c4cf74d5d73a4ee04b54f440df695 (patch) | |
tree | 41557706d9a6634dd90773de01ff3d7a12fd8d5f /sql/item_func.h | |
parent | 30016518c3444e92ac1e43cfd71fc335d760bc19 (diff) | |
download | mariadb-git-8f2f1597500c4cf74d5d73a4ee04b54f440df695.tar.gz |
Fix for bug in WHERE key='j' or key='J'
Docs/manual.texi:
Changelog
myisam/myisampack.c:
Delete tmp file on error.
mysql-test/r/range.result:
Updated test case
mysql-test/t/range.test:
Updated test case
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 4a8f808de57..35af4540f7c 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -98,7 +98,7 @@ public: void make_field(Send_field *field); table_map used_tables() const; void update_used_tables(); - bool eq(const Item *item) const; + bool eq(const Item *item, bool binary_cmp) const; virtual optimize_type select_optimize() const { return OPTIMIZE_NONE; } virtual bool have_rev_func() const { return 0; } virtual Item *key_item() const { return args[0]; } @@ -842,7 +842,7 @@ public: bool const_item() const { return const_var_flag; } table_map used_tables() const { return const_var_flag ? 0 : RAND_TABLE_BIT; } - bool eq(const Item *item) const; + bool eq(const Item *item, bool binary_cmp) const; }; @@ -887,7 +887,7 @@ public: enum Functype functype() const { return FT_FUNC; } void update_used_tables() {} bool fix_fields(THD *thd,struct st_table_list *tlist); - bool eq(const Item *) const; + bool eq(const Item *, bool binary_cmp) const; double val(); longlong val_int() { return val()!=0.0; } |