| 9643 | |
| 9644 | |
| 9645 | bool LEX::set_variable(const Lex_ident_sys_st *name, Item *item, |
| 9646 | const LEX_CSTRING &expr_str) |
| 9647 | { |
| 9648 | sp_pcontext *ctx; |
| 9649 | const Sp_rcontext_handler *rh; |
| 9650 | sp_variable *spv= find_variable(name, &ctx, &rh); |
| 9651 | return spv ? sphead->set_local_variable(thd, ctx, rh, spv, item, this, true, |
| 9652 | expr_str) : |
| 9653 | set_system_variable(option_type, name, item); |
| 9654 | } |
| 9655 | |
| 9656 | |
| 9657 | /** |
no test coverage detected