if (SanityManager.DEBUG) {
SanityManager.ASSERT(rs.getNextRow() == null,
"WHEN clause returned more than one row");
}
}
else if (rs.returnsRows())
{
// Fetch all the data to ensure that functions in the select list or values statement will
// be evaluated and side effects will happen. Why else would the trigger action return
// rows, but for side effects?
// The result set was opened in ps.execute()