summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index c8ee64dc707..80767fb8866 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -2269,6 +2269,14 @@ String *Item_func_hex::val_str(String *str)
}
+void Item_func_binary::print(String *str)
+{
+ str->append("cast(");
+ args[0]->print(str);
+ str->append("as binary)");
+}
+
+
#include <my_dir.h> // For my_stat
String *Item_load_file::val_str(String *str)