Pre: Make it easier to debug binding errors.
This commit is contained in:
parent
002c918c96
commit
2f38f1e73e
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ fn candidate_column(query: &AlgebraicQuery, var: &Variable) -> (ColumnOrExpressi
|
||||||
let columns = query.cc
|
let columns = query.cc
|
||||||
.column_bindings
|
.column_bindings
|
||||||
.get(var)
|
.get(var)
|
||||||
.expect("Every variable has a binding");
|
.expect(format!("Every variable should have a binding, but {:?} does not", var).as_str());
|
||||||
|
|
||||||
let qa = columns[0].clone();
|
let qa = columns[0].clone();
|
||||||
let name = VariableColumn::Variable(var.clone()).column_name();
|
let name = VariableColumn::Variable(var.clone()).column_name();
|
||||||
|
|
Loading…
Reference in a new issue