Skip to content

Commit eedf90c

Browse files
authored
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 89b9187 commit eedf90c

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
@@ -181,7 +181,7 @@ unique_ptr<IndexScanState> ART::TryInitializeCompoundKeyScan(const vector<unique
181181
}
182182
}
183183

184-
return compound_scan_state;
184+
return std::move(compound_scan_state);
185185
}
186186

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

0 commit comments

Comments
 (0)