summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-10-21 13:11:15 +0300
committerunknown <bell@sanja.is.com.ua>2004-10-21 13:11:15 +0300
commit55f12a290d60a6f247086da59b043c5d49360040 (patch)
tree78574243b313510c2b5be8e55766d4929958e7c6 /sql/item_strfunc.h
parent7577f682f4e5afcb16ccd876a449da1b59a41796 (diff)
downloadmariadb-git-55f12a290d60a6f247086da59b043c5d49360040.tar.gz
fixed printing of substring_index (BUG#5911)
mysql-test/r/func_str.result: fixed printing of substring_index mysql-test/r/view.result: test of substring_index with view mysql-test/t/view.test: test of substring_index with view sql/item_strfunc.h: fixed printing of substring_index
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 111f0e20698..8ec597f2a27 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -218,7 +218,7 @@ public:
Item_func_substr_index(Item *a,Item *b,Item *c) :Item_str_func(a,b,c) {}
String *val_str(String *);
void fix_length_and_dec();
- const char *func_name() const { return "substr_index"; }
+ const char *func_name() const { return "substring_index"; }
};