Fixed issue #9351: Database error during update when using a database other than MySQL