diff options
author | unknown <bell@laptop.sanja.is.com.ua> | 2003-10-12 17:56:05 +0300 |
---|---|---|
committer | unknown <bell@laptop.sanja.is.com.ua> | 2003-10-12 17:56:05 +0300 |
commit | 1d17fd7d51f7100038eaa5fb4cb372c785a44010 (patch) | |
tree | 2d243d69c4c8bafa98d2f0bd9b6ed43fea552637 /sql/item_cmpfunc.h | |
parent | bc8f801bf0f239b85ee95ea5410915f0f5424fc1 (diff) | |
download | mariadb-git-1d17fd7d51f7100038eaa5fb4cb372c785a44010.tar.gz |
fixed printability of Items (all items except subselects)
(SCRUM) (WL#1274)
sql/item.cc:
fixed printability of Items
sql/item.h:
fixed printability of Items
sql/item_cmpfunc.cc:
fixed printability of Items
sql/item_cmpfunc.h:
fixed printability of Items
sql/item_func.cc:
fixed printability of Items
sql/item_func.h:
fixed printability of Items
sql/item_geofunc.h:
added DBUG_ASSERT to catch error in debuging timw
sql/item_row.cc:
fixed printability of Items
sql/item_row.h:
fixed printability of Items
sql/item_strfunc.cc:
fixed printability of Items
sql/item_strfunc.h:
fixed printability of Items
sql/item_sum.cc:
fixed printability of Items
sql/item_sum.h:
fixed printability of Items
sql/item_timefunc.cc:
fixed printability of Items
sql/item_timefunc.h:
layout fixed
fixed printability of Items
sql/item_uniq.h:
fixed printability of Items
sql/sql_yacc.yy:
layout fixed
correct convertion to String
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 42b73c48606..ab03782b168 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -105,7 +105,7 @@ public: Item_in_optimizer return NULL, else it evaluate Item_in_subselect. */ longlong val_int(); - const char *func_name() const { return "IN_OPTIMIZER"; } + const char *func_name() const { return "<in_optimizer>"; } Item_cache **get_cache() { return &cache; } }; @@ -262,6 +262,7 @@ public: enum Functype functype() const { return BETWEEN; } const char *func_name() const { return "between"; } void fix_length_and_dec(); + void print(String *str); }; @@ -704,7 +705,7 @@ public: {} enum Functype functype() const { return ISNOTNULLTEST_FUNC; } longlong val_int(); - const char *func_name() const { return "is_not_null_test"; } + const char *func_name() const { return "<is_not_null_test>"; } void update_used_tables(); }; @@ -722,6 +723,7 @@ public: const char *func_name() const { return "isnotnull"; } optimize_type select_optimize() const { return OPTIMIZE_NULL; } table_map not_null_tables() const { return 0; } + void print(String *str); }; @@ -775,6 +777,7 @@ public: longlong val_int(); bool fix_fields(THD *thd, struct st_table_list *tlist, Item **ref); const char *func_name() const { return "regex"; } + void print(String *str) { print_op(str); } }; #else @@ -785,6 +788,7 @@ public: Item_func_regex(Item *a,Item *b) :Item_bool_func(a,b) {} longlong val_int() { return 0;} const char *func_name() const { return "regex"; } + void print(String *str) { print_op(str); } }; #endif /* USE_REGEX */ |