Fixes #5809, change existing SQL to ignore errors that occur when updates are executed more than once, add test for multiple update and allow updates to specify more than one error code to ignore.