Follow-up: remove logging and such elsewhere in the codebase.
This commit is contained in:
parent
e33fe71c47
commit
54bd883c65
2 changed files with 0 additions and 3 deletions
|
@ -42,7 +42,6 @@ impl AttributeValidation for Attribute {
|
||||||
bail!(ErrorKind::BadSchemaAssertion(format!(":db/unique :db/unique_value without :db/index true for entid: {}", ident())))
|
bail!(ErrorKind::BadSchemaAssertion(format!(":db/unique :db/unique_value without :db/index true for entid: {}", ident())))
|
||||||
}
|
}
|
||||||
if self.unique == Some(attribute::Unique::Identity) && !self.index {
|
if self.unique == Some(attribute::Unique::Identity) && !self.index {
|
||||||
println!("Unique identity without index. Bailing.");
|
|
||||||
bail!(ErrorKind::BadSchemaAssertion(format!(":db/unique :db/unique_identity without :db/index true for entid: {}", ident())))
|
bail!(ErrorKind::BadSchemaAssertion(format!(":db/unique :db/unique_identity without :db/index true for entid: {}", ident())))
|
||||||
}
|
}
|
||||||
if self.fulltext && self.value_type != ValueType::String {
|
if self.fulltext && self.value_type != ValueType::String {
|
||||||
|
|
|
@ -436,7 +436,6 @@ impl ConjoiningClauses {
|
||||||
patterns.into_iter()
|
patterns.into_iter()
|
||||||
.map(|pattern| {
|
.map(|pattern| {
|
||||||
let mut receptacle = template.make_receptacle();
|
let mut receptacle = template.make_receptacle();
|
||||||
println!("Applying pattern with attribute {:?}", pattern.attribute);
|
|
||||||
receptacle.apply_pattern_clause_for_alias(known, &pattern, &source_alias);
|
receptacle.apply_pattern_clause_for_alias(known, &pattern, &source_alias);
|
||||||
receptacle
|
receptacle
|
||||||
})
|
})
|
||||||
|
@ -458,7 +457,6 @@ impl ConjoiningClauses {
|
||||||
// we know that we can blindly merge: collisions aren't possible.
|
// we know that we can blindly merge: collisions aren't possible.
|
||||||
if let Some(first) = receptacles.peek() {
|
if let Some(first) = receptacles.peek() {
|
||||||
for (v, cols) in &first.column_bindings {
|
for (v, cols) in &first.column_bindings {
|
||||||
println!("Adding {:?}: {:?}", v, cols);
|
|
||||||
match self.column_bindings.entry(v.clone()) {
|
match self.column_bindings.entry(v.clone()) {
|
||||||
Entry::Vacant(e) => {
|
Entry::Vacant(e) => {
|
||||||
e.insert(cols.clone());
|
e.insert(cols.clone());
|
||||||
|
|
Loading…
Reference in a new issue