func (transaction *Transaction) Commit() error {
	var (
		cErr *C.char
	)
	C.rocksdb_transaction_commit(transaction.c, &cErr)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return errors.New(C.GoString(cErr))
	}
	return nil
}
// Commit commits the transaction to the database.
Commit commits the transaction to the database.
// Commit commits the transaction to the database .
func (transaction *Transaction) Commit() error {
	var (
		cErr *C.char
	)
	C.rocksdb_transaction_commit(transaction.c, &cErr)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return errors.New(C.GoString(cErr))
	}
	return nil
}
func ( transaction * Transaction ) Commit ( ) error { var ( cErr * C . char ) C . rocksdb_transaction_commit ( transaction . c , & cErr ) if cErr != nil { defer C . free ( unsafe . Pointer ( cErr ) ) return errors . New ( C . GoString ( cErr ) ) } return nil }
Commit commits the transaction to the database.
Commit commits the transaction to the database .