Commit 4b773ca2 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-13564 clean-up: Replace memset() with init()

parent b290ef8c
......@@ -13455,7 +13455,7 @@ int ha_innobase::truncate()
dict_table_t* ib_table = m_prebuilt->table;
const time_t update_time = ib_table->update_time;
const ulint stored_lock = m_prebuilt->stored_select_lock_type;
memset(&info, 0, sizeof info);
info.init();
update_create_info_from_table(&info, table);
if (dict_table_is_temporary(ib_table)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment