MCPcopy Create free account
hub / github.com/MariaDB/server / add_virtual_expression

Function add_virtual_expression

sql/sql_lex.cc:587–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585
586
587Virtual_column_info *add_virtual_expression(THD *thd, Item *expr)
588{
589 Virtual_column_info *v= new (thd->mem_root) Virtual_column_info();
590 if (unlikely(!v))
591 return 0;
592 v->expr= expr;
593 v->utf8= 0; /* connection charset */
594 return v;
595}
596
597
598

Callers 2

make_json_valid_exprMethod · 0.85
make_json_valid_exprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected