My Project
|
Public Member Functions | |
Item_func_not (Item *a) | |
longlong | val_int () |
enum Functype | functype () const |
const char * | func_name () const |
Item * | neg_transformer (THD *thd) |
virtual void | print (String *str, enum_query_type query_type) |
Item * Item_func_not::neg_transformer | ( | THD * | thd | ) | [virtual] |
Apply NOT transformation to the item and return a new one.
Transform the item using next rules:
a AND b AND ... -> NOT(a) OR NOT(b) OR ... a OR b OR ... -> NOT(a) AND NOT(b) AND ... NOT(a) -> a a = b -> a != b a != b -> a = b a < b -> a >= b a >= b -> a < b a > b -> a <= b a <= b -> a > b IS NULL(a) -> IS NOT NULL(a) IS NOT NULL(a) -> IS NULL(a)
thd | thread handler |
Reimplemented from Item.
Reimplemented in Item_func_nop_all, and Item_func_not_all.
void Item_func_not::print | ( | String * | str, |
enum_query_type | query_type | ||
) | [virtual] |
This method is used for to:
For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,
Reimplemented from Item_func.
Reimplemented in Item_func_not_all.