mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
This commit is contained in:
@ -272,6 +272,7 @@ public:
|
||||
enum Functype functype() const { return NOT_FUNC; }
|
||||
const char *func_name() const { return "not"; }
|
||||
Item *neg_transformer(THD *thd);
|
||||
void print(String *str);
|
||||
};
|
||||
|
||||
class Item_maxmin_subselect;
|
||||
@ -314,6 +315,7 @@ public:
|
||||
enum Functype functype() const { return TRIG_COND_FUNC; };
|
||||
const char *func_name() const { return "trigcond"; };
|
||||
bool const_item() const { return FALSE; }
|
||||
bool *get_trig_var() { return trig_var; }
|
||||
};
|
||||
|
||||
class Item_func_not_all :public Item_func_not
|
||||
@ -968,6 +970,10 @@ class Item_func_in :public Item_func_opt_neg
|
||||
{
|
||||
public:
|
||||
Item_result cmp_type;
|
||||
/*
|
||||
an array of values when the right hand arguments of IN
|
||||
are all SQL constant and there are no nulls
|
||||
*/
|
||||
in_vector *array;
|
||||
cmp_item *in_item;
|
||||
bool have_null;
|
||||
@ -993,7 +999,7 @@ public:
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
optimize_type select_optimize() const
|
||||
{ return array ? OPTIMIZE_KEY : OPTIMIZE_NONE; }
|
||||
{ return OPTIMIZE_KEY; }
|
||||
void print(String *str);
|
||||
enum Functype functype() const { return IN_FUNC; }
|
||||
const char *func_name() const { return " IN "; }
|
||||
|
Reference in New Issue
Block a user