Skip to content

Commit

Permalink
unalias keyexpr when using take_from_loaned on query
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Feb 26, 2025
1 parent 0dab787 commit dc541d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ z_result_t z_query_take_from_loaned(z_owned_query_t *dst, z_loaned_query_t *src)
z_internal_query_null(dst);
return _Z_ERR_SYSTEM_OUT_OF_MEMORY;
}
return _Z_RES_OK;
return _z_keyexpr_to_non_aliased(&dst->_rc._val->_key);
}

void _z_queryable_drop(_z_queryable_t *queryable) {
Expand Down

0 comments on commit dc541d3

Please sign in to comment.