try {
db.getOptions().changeSchemaVersion();
if (!schemaTable.goToRow(triggerDef.getRowId()) || !TRIGGER_TYPE.equals(schemaTable.getTypeField()))
throw new SqlJetException(SqlJetErrorCode.CORRUPT);
final String n = schemaTable.getNameField();
if (null == n || !triggerName.equals(n))
throw new SqlJetException(SqlJetErrorCode.CORRUPT);
schemaTable.delete();