| 6798 | |
| 6799 | |
| 6800 | sp_variable *LEX::sp_param_init(LEX_CSTRING *name) |
| 6801 | { |
| 6802 | if (spcont->find_variable(name, true)) |
| 6803 | { |
| 6804 | my_error(ER_SP_DUP_PARAM, MYF(0), name->str); |
| 6805 | return NULL; |
| 6806 | } |
| 6807 | sp_variable *spvar= spcont->add_variable(thd, name); |
| 6808 | init_last_field(&spvar->field_def, name); |
| 6809 | return spvar; |
| 6810 | } |
| 6811 | |
| 6812 | |
| 6813 | bool LEX::sp_param_fill_definition(sp_variable *spvar, |
nothing calls this directly
no test coverage detected