1#ifndef ITEM_XMLFUNC_INCLUDED
2#define ITEM_XMLFUNC_INCLUDED
100 const char *
func_name()
const override {
return "extractvalue"; }
110 const char *
func_name()
const override {
return "updatexml"; }
114 pointer_cast<Check_function_as_value_generator_parameters *>(
116 func_arg->banned_function_name =
func_name();
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
Definition: item_xmlfunc.h:104
bool check_function_as_value_generator(uchar *checker_args) override
Check if this item is allowed for a virtual column or inside a default expression.
Definition: item_xmlfunc.h:112
Item_func_xml_update(const POS &pos, Item *a, Item *b, Item *c)
Definition: item_xmlfunc.h:108
const char * func_name() const override
Definition: item_xmlfunc.h:110
String * val_str(String *) override
Definition: item_xmlfunc.cc:2499
String tmp_value
Definition: item_xmlfunc.h:105
void cleanup() override
Called for every Item after use (preparation and execution).
Definition: item.cc:10927
Definition: item_strfunc.h:76
Definition: item_xmlfunc.h:55
bool resolve_type(THD *thd) override
Resolve type-related information for this item, such as result field type, maximum size,...
Definition: item_xmlfunc.cc:2282
Item * nodeset_func
Definition: item_xmlfunc.h:58
bool check_function_as_value_generator(uchar *) override
Check if this item is allowed for a virtual column or inside a default expression.
Definition: item_xmlfunc.h:77
bool nodeset_func_permanent
True if nodeset_func assigned during resolving.
Definition: item_xmlfunc.h:60
void cleanup() override
Called for every Item after use (preparation and execution).
Definition: item_xmlfunc.h:73
Item_xml_str_func(const POS &pos, Item *a, Item *b, Item *c)
Definition: item_xmlfunc.h:68
Item_xml_str_func(const POS &pos, Item *a, Item *b)
Definition: item_xmlfunc.h:64
ParsedXML pxml
Definition: item_xmlfunc.h:57
String xpath_tmp_value
Definition: item_xmlfunc.h:61
bool parse_xpath(Item *xpath_expr)
Parse the specified XPATH expression and initialize nodeset_func.
Definition: item_xmlfunc.cc:2310
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:936
void set_nullable(bool nullable)
Definition: item.h:3642
Using this class is fraught with peril, and you need to be very careful when doing so.
Definition: sql_string.h:167
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
std::vector< MY_XML_NODE > ParsedXML
Definition: item_xmlfunc.h:53
Some integer typedefs for easier portability.
unsigned char uchar
Definition: my_inttypes.h:52
my_xml_node_type
Definition: my_xml.h:51
Our own string classes, used pervasively throughout the executor.
Bison "location" class.
Definition: parse_location.h:43
Definition: item_xmlfunc.h:44
const char * beg
Definition: item_xmlfunc.h:48
uint level
Definition: item_xmlfunc.h:45
enum my_xml_node_type type
Definition: item_xmlfunc.h:46
const char * end
Definition: item_xmlfunc.h:49
uint parent
Definition: item_xmlfunc.h:47
const char * tagend
Definition: item_xmlfunc.h:50