Skip to content

Commit

Permalink
Inner join instead of cross for repost in activities
Browse files Browse the repository at this point in the history
  • Loading branch information
lostystyg committed Jul 20, 2022
1 parent f782b68 commit fabcc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pocketdb/repositories/web/WebRpcRepository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5058,7 +5058,7 @@ namespace PocketDb
from Transactions r indexed by Transactions_Type_Last_String1_Height_Id
cross join Transactions p indexed by Transactions_Type_Last_String2_Height
join Transactions p indexed by Transactions_Type_Last_String2_Height
on p.Type in (200,201,202)
and p.Last = 1
and p.String2 = r.String3
Expand Down

0 comments on commit fabcc4e

Please sign in to comment.