Skip to content

Commit

Permalink
Optimize msg queryPrepared
Browse files Browse the repository at this point in the history
  • Loading branch information
PandaLIU-1111 committed Oct 17, 2022
1 parent 539d154 commit 4b1bfee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Msg.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ protected function queryPrepared(string $queryPrepared)
$requestBranch->op = TransContext::getOp();
$requestBranch->url = $queryPrepared;
$requestBranch->grpcArgument = new GPBEmpty();
/** @var Response $response */
$response = $this->api->transRequestBranch($requestBranch);

$this->api->transRequestBranch($requestBranch);

// if local transaction is fail, then abort transaction
$this->api->abort(TransContext::toArray());
Expand Down

0 comments on commit 4b1bfee

Please sign in to comment.