Skip to content

Commit

Permalink
Fix sql typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andyoknen committed Jun 10, 2022
1 parent a62fd17 commit 011f94f
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 @@ -4610,7 +4610,7 @@ namespace PocketDb
null
from Transactions c indexed by Transactions_Type_Last_String1_Height_Id -- My comments
join Transactions a indexed by Transactions_Type_Last_Height_String5_String1
on a.Type in (204, 205) and a.Last = 1 and and a.Height > 0 a.String5 = c.String2 and a.String1 != c.String1
on a.Type in (204, 205) and a.Last = 1 and a.Height > 0 and a.String5 = c.String2 and a.String1 != c.String1
join Transactions orig indexed by Transactions_Hash_Height
on orig.Hash = a.String2
where c.Type in (204, 205)
Expand Down

0 comments on commit 011f94f

Please sign in to comment.