Skip to content

Commit 5f305ef

Browse files
mach-kernelsgrebnov
authored andcommitted
1.4.1 fix gcc build (#9)
* make specialized compound key scan state for eq compares, specialized scan using ARTKey::Concat * table scan: rebind projected columns in ALL index exprs do not bail out early if more than one index expr hook up composite key scan * copy index expressions before rewriting column refs * simplify filter expression storage index bindings (just reuse the ones we made earlier), fix single-ref-per-expr predicate to correctly walk expr tree and yank refs (allowing nesting in fns, etc) * add test, bail out for eg composite query with IN () list * do not do index scan if there are other non index filters in the predicate (fix shutdown_create_index.test) * tryscanindex sanity check: indexed_columns / art column ids may not need remapping if the scan is not a view scan * tryscanindex: do column matching first, to use possibly rebound matches in both sanity check and index expr rebinding add test for this scenario * tryscanindex: fix direct match lookup, range check vec access * compile on gcc
1 parent b393582 commit 5f305ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/execution/index/art/art.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ unique_ptr<IndexScanState> ART::TryInitializeCompoundKeyScan(const vector<unique
188188
}
189189
}
190190

191-
return compound_scan_state;
191+
return std::move(compound_scan_state);
192192
}
193193

194194
unique_ptr<IndexScanState> ART::TryInitializeScan(const Expression &expr, const Expression &filter_expr) {

0 commit comments

Comments
 (0)