Skip to content

Commit

Permalink
Include extra LEFT-JOIN in new sqlite's inspect output.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jan 23, 2023
1 parent 6c7af12 commit 05140e7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/Test/Kupo/Data/DatabaseSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec = parallel $ do
[ "SEARCH binary_data USING INDEX sqlite_autoindex_binary_data_1 (binary_data_hash=?)"
, "LIST SUBQUERY 1"
, "SCAN binary_data USING COVERING INDEX sqlite_autoindex_binary_data_1"
, "SEARCH inputs USING AUTOMATIC COVERING INDEX (datum_hash=?)"
, "SEARCH inputs USING AUTOMATIC COVERING INDEX (datum_hash=?) LEFT-JOIN"
, "USE TEMP B-TREE FOR ORDER BY"
]
)
Expand Down Expand Up @@ -464,7 +464,7 @@ spec = parallel $ do

let suffix =
[ "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
, "USE TEMP B-TREE FOR ORDER BY"
]

Expand Down Expand Up @@ -857,7 +857,7 @@ spec = parallel $ do
(`shouldBe`
[ "SEARCH inputs USING INDEX inputsByOutputReference (output_reference=?)"
, "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
]
)

Expand All @@ -871,7 +871,7 @@ spec = parallel $ do
(`shouldBe`
[ "SEARCH inputs USING INDEX inputsByOutputReference (output_reference=?)"
, "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
]
)

Expand All @@ -885,7 +885,7 @@ spec = parallel $ do
(`shouldBe`
[ "SEARCH inputs USING INDEX inputsByOutputReference (output_reference=?)"
, "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
]
)

Expand All @@ -899,7 +899,7 @@ spec = parallel $ do
(`shouldBe`
[ "SEARCH inputs USING INDEX inputsByOutputReference (output_reference=?)"
, "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
]
)

Expand All @@ -913,7 +913,7 @@ spec = parallel $ do
(`shouldBe`
[ "SEARCH inputs USING INDEX inputsByOutputReference (output_reference=?)"
, "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
]
)

Expand All @@ -927,7 +927,7 @@ spec = parallel $ do
(`shouldBe`
[ "SEARCH inputs USING INDEX inputsByOutputReference (output_reference=?)"
, "SEARCH createdAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?)"
, "SEARCH spentAt USING INTEGER PRIMARY KEY (rowid=?) LEFT-JOIN"
]
)

Expand Down

0 comments on commit 05140e7

Please sign in to comment.