Patch for unchecked return code for database update

Static analysis (coverity) detected an unchecked
return code from a database update.  Check the
return code in a manor equivalent to others in
this routine.

Fixes coverity 700256