This routine commits all changes and releases all locks. It also ends a transaction. This routine has no parameters.