Skip to content

Commit ec2c239

Browse files
author
Aaron Raddon
committed
log spam cleanup
1 parent f77b451 commit ec2c239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/mongo/sql_to_mgo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func (m *SqlToMgo) walkFilterBinary(node *expr.BinaryNode, q *bson.M) (value.Val
532532
// comparison of left/right isn't mongos strong suit
533533
// https://stackoverflow.com/questions/4442453/mongodb-query-condition-on-comparing-2-fields
534534
// db.T.find( { $where : "this.Grade1 > this.Grade2" } );
535-
u.Infof("identents? %v %v %v", lhval, rhval, node)
535+
// u.Infof("identents? %v %v %v", lhval, rhval, node)
536536
*q = bson.M{"$where": fmt.Sprintf("this.%s %s this.%s", lhval.ToString(), node.Operator.V, rhval.ToString())}
537537
return nil, nil
538538
}
@@ -542,7 +542,7 @@ func (m *SqlToMgo) walkFilterBinary(node *expr.BinaryNode, q *bson.M) (value.Val
542542
// The $eq expression is equivalent to { field: <value> }.
543543
if lhval != nil && rhval != nil {
544544
*q = bson.M{lhval.ToString(): rhval.Value()}
545-
u.Infof("m=%#v type=%v", q, rhval.Type())
545+
// u.Infof("m=%#v type=%v", q, rhval.Type())
546546
return nil, nil
547547
}
548548
if lhval != nil || rhval != nil {

0 commit comments

Comments
 (0)