Skip to content

Commit

Permalink
Define GRN_CANCEL = -77
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo committed Apr 8, 2024
1 parent e322f1b commit db675ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/groonga-query-log/server-verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

module GroongaQueryLog
class ServerVerifier
GRN_CANCEL = -77

attr_reader :n_executed_commands
def initialize(options)
@options = options
Expand Down Expand Up @@ -203,7 +205,7 @@ def verify_command(groonga1_client, groonga2_client, command)
end
request.wait

return if response2.return_code == -77 # GRN_CANCEL
return if response2.return_code == GRN_CANCEL
else
response2 = groonga2_client.execute(command)
end
Expand Down

0 comments on commit db675ca

Please sign in to comment.