summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2007-03-10 00:29:02 +0300
committerevgen@moonbone.local <>2007-03-10 00:29:02 +0300
commit04f5c46d5dd9911811bce2683b90e2acc711f94e (patch)
tree641d6571416a8d494af152f6753b253f49563548 /sql/item.h
parent999c1cdcc1a6c82b69ea75d6661f75ed55f405f1 (diff)
downloadmariadb-git-04f5c46d5dd9911811bce2683b90e2acc711f94e.tar.gz
Bug#22331: Wrong WHERE in EXPLAIN EXTENDED when all expressions were optimized
away. Additional fix for bug#22331. Now Item_field prints its value in the case of the const field.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 2a121523423..fb1a87d54fa 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1303,6 +1303,7 @@ public:
Item *safe_charset_converter(CHARSET_INFO *tocs);
int fix_outer_field(THD *thd, Field **field, Item **reference);
virtual Item *update_value_transformer(byte *select_arg);
+ void print(String *str);
friend class Item_default_value;
friend class Item_insert_value;
friend class st_select_lex_unit;