The ROLLBACK command terminates a transaction and undoes all
changes that have been made to the database since the program's
most recent START_TRANSACTION command. The ROLLBACK command also
releases all locks, closes all open streams, and releases all
readied relations. It affects all databases participating in
the currently open transaction. The ROLLBACK command implicitly
performs the END_STREAM statement.