(ITS#8066) mdb_load truncates long values when resizing buffer