Follow-up: remove logging and such elsewhere in the codebase.

This commit is contained in:
Richard Newman 2018-02-15 10:14:51 -08:00
parent e33fe71c47
commit 54bd883c65
2 changed files with 0 additions and 3 deletions

View file

@ -42,7 +42,6 @@ impl AttributeValidation for Attribute {
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 {
println!("Unique identity without index. Bailing.");
bail!(ErrorKind::BadSchemaAssertion(format!(":db/unique :db/unique_identity without :db/index true for entid: {}", ident())))
}
if self.fulltext && self.value_type != ValueType::String {

View file

@ -436,7 +436,6 @@ impl ConjoiningClauses {
patterns.into_iter()
.map(|pattern| {
let mut receptacle = template.make_receptacle();
println!("Applying pattern with attribute {:?}", pattern.attribute);
receptacle.apply_pattern_clause_for_alias(known, &pattern, &source_alias);
receptacle
})
@ -458,7 +457,6 @@ impl ConjoiningClauses {
// we know that we can blindly merge: collisions aren't possible.
if let Some(first) = receptacles.peek() {
for (v, cols) in &first.column_bindings {
println!("Adding {:?}: {:?}", v, cols);
match self.column_bindings.entry(v.clone()) {
Entry::Vacant(e) => {
e.insert(cols.clone());