Commit 26c7849f authored by hlgr's avatar hlgr
Browse files

fixed typo

parent 1462a7cb
......@@ -54,7 +54,7 @@ auto joinUsingCrossProduct(Table& customer, Table& orders, bool tablesSwapped =
unique_ptr<Operator> inequalityJoin(Table& customer, Table& orders) {
return make_unique<Select>(
make_unique<Cross>(make_unique<Scan>(customer), make_unique<Scan>(orders)),
[](auto t) { return t[3] < long(t[0]) + 1 && t[3] > long(t[0]) - 1; });
[](auto t) { return t[3] <= long(t[0]) + 1 && t[3] >= long(t[0]) - 1; });
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment