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

Function fill_check_table_metadata_fields

sql/sql_admin.cc:513–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511*/
512
513void 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/*

Callers 2

mysql_admin_tableFunction · 0.85
mysql_test_admin_tableFunction · 0.85

Calls 2

set_maybe_nullMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected