End a transaction. This function can only be called in direct-connect mode. All DRMS resources are released except for the signal thread and db data connection.
Parameters:
env
abort
If 1, the current transaction will rollback. Otherwise the current transaction will commit.