Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small bug fix for database.rs #541

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions skema/skema-rs/skema/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3128,6 +3128,7 @@ pub fn create_att_expression(
// now to construct the nodes inside the expression, Literal and Primitives
let mut new_c_args = c_args.clone();
let mut box_counter: usize = 1;
new_c_args.att_box = att_box.clone();
if att_box.bf.is_some() {
for att_sub_box in att_box.bf.as_ref().unwrap().iter() {
new_c_args.box_counter = box_counter;
Expand Down Expand Up @@ -3366,6 +3367,7 @@ pub fn create_att_predicate(
// now to construct the nodes inside the expression, Literal and Primitives
let mut new_c_args = c_args.clone();
let mut box_counter: usize = 1;
new_c_args.att_box = att_box.clone();
for sub_att_box in att_box.bf.as_ref().unwrap().iter() {
new_c_args.box_counter = box_counter;
new_c_args.cur_box = sub_att_box.clone();
Expand Down
Loading