| 9293 | |
| 9294 | |
| 9295 | Item *LEX::create_item_func_setval(THD *thd, Table_ident *table_ident, |
| 9296 | Longlong_hybrid nextval, ulonglong round, |
| 9297 | bool is_used) |
| 9298 | { |
| 9299 | TABLE_LIST *table; |
| 9300 | if (clause_that_disallows_subselect) |
| 9301 | { |
| 9302 | my_error(ER_SUBQUERIES_NOT_SUPPORTED, MYF(0), |
| 9303 | clause_that_disallows_subselect); |
| 9304 | return NULL; |
| 9305 | } |
| 9306 | if (unlikely(!(table= current_select->add_table_to_list(thd, table_ident, 0, |
| 9307 | TL_OPTION_SEQUENCE, |
| 9308 | TL_WRITE_ALLOW_WRITE, |
| 9309 | MDL_SHARED_WRITE)))) |
| 9310 | return NULL; |
| 9311 | return new (thd->mem_root) Item_func_setval(thd, table, nextval, round, |
| 9312 | is_used); |
| 9313 | } |
| 9314 | |
| 9315 | |
| 9316 | Item *LEX::create_item_ident(THD *thd, |
nothing calls this directly
no test coverage detected