summaryrefslogtreecommitdiff
path: root/sql/item_xmlfunc.h
diff options
context:
space:
mode:
authormikael@dator5.(none) <>2006-06-23 01:21:26 -0400
committermikael@dator5.(none) <>2006-06-23 01:21:26 -0400
commit5771a711f070d94e315641a6bcbe770ac8791c15 (patch)
tree8a5d830c934165bdeafc31953e93b8856ce8e72f /sql/item_xmlfunc.h
parentd35c7f2f502a9636df6fd32dedd1161f6477c0a1 (diff)
downloadmariadb-git-5771a711f070d94e315641a6bcbe770ac8791c15.tar.gz
BUG#18198: Less flexibility in defining partition functions
Changed test for functions if they are supported. 3 categories: 1) Fully supported 2) Supported for single character collations 3) Supported for binary collations
Diffstat (limited to 'sql/item_xmlfunc.h')
-rw-r--r--sql/item_xmlfunc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_xmlfunc.h b/sql/item_xmlfunc.h
index e11b4eac1e2..4ce72777ca4 100644
--- a/sql/item_xmlfunc.h
+++ b/sql/item_xmlfunc.h
@@ -42,7 +42,8 @@ public:
Item_func_xml_extractvalue(Item *a,Item *b) :Item_xml_str_func(a,b) {}
const char *func_name() const { return "extractvalue"; }
String *val_str(String *);
- bool check_partition_func_processor(byte *bool_arg) { return 0;}
+ bool check_partition_func_processor(byte *int_arg)
+ { return safe_for_single_char_collation(int_arg);}
};