Function mariadb_sys::base_list_copy
source · pub unsafe extern "C" fn base_list_copy(
this: *mut base_list,
rhs: *const base_list,
mem_root: *mut MEM_ROOT
) -> bool
Expand description
Construct a deep copy of the argument in memory root mem_root. The elements themselves are copied by pointer. If you also need to copy elements by value, you should employ list_copy_and_replace_each_value after creating a copy.