+ if (!$sth->execute()) {
+ $sth->finish();
+ $dbh->rollback();
+ $form->dberror("The database update/creation did not succeed. The file ${filename} containing the following query failed:<br>${query}<br>" .
+ "All changes in that file have been reverted.");
+ }
+ $sth->finish();