From bb34a988c452c9bc19aec855b04b04ea2c3f6dc5 Mon Sep 17 00:00:00 2001 From: Javad Saberlatibari <76922325+javadsaberlatibari@users.noreply.github.com> Date: Mon, 1 Apr 2024 14:00:40 -0700 Subject: [PATCH] Add files via upload --- wellcoordination/benchmark/rubis.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wellcoordination/benchmark/rubis.hpp b/wellcoordination/benchmark/rubis.hpp index c6bcba5..99e48bb 100644 --- a/wellcoordination/benchmark/rubis.hpp +++ b/wellcoordination/benchmark/rubis.hpp @@ -21,7 +21,7 @@ class Rubis : public ReplicatedObject //openAuction 1(id) by default consider 100 auctions are open. //placeBid 3 3(auctionid+userid+value) //openauctions 4 -//closeauction +//closeauctions //query 6 like movie does not consider read. private: @@ -123,7 +123,7 @@ class Rubis : public ReplicatedObject // 3 void placeBid(int a_id, int u_id, int value) { - if(registeredusers.count(u_id)==1 && openauctions.count(a_id)==1 && closeauction.count(a_id)==0){ + if(registeredusers.count(u_id)==1 && openauctions.count(a_id)==1 && closeauctions.count(a_id)==0){ if(auction[a_id][1]