My Project
Public Member Functions | Public Attributes
Item_func_like Class Reference
Inheritance diagram for Item_func_like:
Item_bool_func2 Item_bool_func Item_int_func Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_like (Item *a, Item *b, Item *escape_arg, bool escape_used)
longlong val_int ()
enum Functype functype () const
optimize_type select_optimize () const
cond_result eq_cmp_result () const
const char * func_name () const
bool fix_fields (THD *thd, Item **ref)
void cleanup ()
bool escape_was_used_in_parsing () const

Public Attributes

int escape

Member Function Documentation

Return values:
truenon default escape char specified using "expr LIKE pat ESCAPE 'escape_char'" syntax
Item_func::optimize_type Item_func_like::select_optimize ( ) const [virtual]

We can optimize a where if first character isn't a wildcard

Reimplemented from Item_bool_func2.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines