Skip to content
Snippets Groups Projects
Commit ff14626d authored by Georgy Kirichenko's avatar Georgy Kirichenko
Browse files

Destroy port after iproto eval if transaction isn't finished

This is a followup for 7691154a
parent 7691154a
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,7 @@ box_process_eval(struct call_request *request, struct port *port)
txn = in_txn();
if (txn != NULL) {
diag_set(ClientError, ER_FUNCTION_TX_ACTIVE);
port_destroy(port);
txn_rollback(txn);
fiber_gc();
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment