summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-06-25 15:07:20 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-06-25 15:07:20 +0500
commitd0d7186dd74b29575e919202a69b0fd2f26453f1 (patch)
treed7966a8ac0e15ab459907fab638b4ea53f14f81c /sql/item_strfunc.h
parentd3deae8214f50763a2eb6465c231d226b0e40326 (diff)
downloadmariadb-git-d0d7186dd74b29575e919202a69b0fd2f26453f1.tar.gz
LOCATE(), INSTR(), POSITION(), FIND_IN_SET(), SUBSTRING_INDEX()
now process arguments according to standard SQL collation determation rules.
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 3f2860f4b2b..6cc6d730627 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -215,7 +215,7 @@ class Item_func_substr_index :public Item_str_func
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() { max_length= args[0]->max_length; }
+ void fix_length_and_dec();
const char *func_name() const { return "substr_index"; }
};