Fix the default_values handling in BaseDb.copy_to
This needs tests! Thanks to vlorentz for finding the cause of the problem.
Migrated from D1055 (view on Phabricator)
This needs tests! Thanks to vlorentz for finding the cause of the problem.
Migrated from D1055 (view on Phabricator)