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
Make schema updates fail, rather than vocally continue.

The only reason these queries should ever error outright is because
there is a flaw somewhere in the database. We shouldn't be continuing on
with the update at that point.