Add a regression test for issue 4388. * subversion/tests/libsvn_wc/op-depth-test.c (check_db_actual): Reset statement on error. (move_update_parent_replace): New test. (test_funcs): Add new test.