| 511 | */ |
| 512 | |
| 513 | void fill_check_table_metadata_fields(THD *thd, List<Item>* fields) |
| 514 | { |
| 515 | Item *item; |
| 516 | |
| 517 | item= new (thd->mem_root) Item_empty_string(thd, "Table", NAME_CHAR_LEN * 2); |
| 518 | item->set_maybe_null(); |
| 519 | fields->push_back(item, thd->mem_root); |
| 520 | |
| 521 | item= new (thd->mem_root) Item_empty_string(thd, "Op", 10); |
| 522 | item->set_maybe_null(); |
| 523 | fields->push_back(item, thd->mem_root); |
| 524 | |
| 525 | item= new (thd->mem_root) Item_empty_string(thd, "Msg_type", 10); |
| 526 | item->set_maybe_null(); |
| 527 | fields->push_back(item, thd->mem_root); |
| 528 | |
| 529 | item= new (thd->mem_root) Item_empty_string(thd, "Msg_text", |
| 530 | SQL_ADMIN_MSG_TEXT_SIZE); |
| 531 | item->set_maybe_null(); |
| 532 | fields->push_back(item, thd->mem_root); |
| 533 | } |
| 534 | |
| 535 | |
| 536 | /* |
no test coverage detected