@@ -1414,7 +1414,7 @@ func newLeaf(ctx *sql.Context, id indexScanId, e sql.Expression, underlying stri
14141414 return nil , false
14151415 }
14161416
1417- if op == sql .IndexScanOpIsNull || op == sql .IndexScanOpIsNotNull {
1417+ if op == sql .IndexScanOpIsNull || op == sql .IndexScanOpIsNotNull {
14181418 return & iScanLeaf {id : id , gf : gf , op : op , underlying : underlying }, true
14191419 }
14201420
@@ -1437,11 +1437,11 @@ func newLeaf(ctx *sql.Context, id indexScanId, e sql.Expression, underlying stri
14371437 }
14381438 }
14391439 return & iScanLeaf {
1440- id : id ,
1441- gf : gf ,
1442- op : op ,
1443- setValues : litSet ,
1444- litType : litType ,
1440+ id : id ,
1441+ gf : gf ,
1442+ op : op ,
1443+ setValues : litSet ,
1444+ litType : litType ,
14451445 underlying : underlying ,
14461446 }, true
14471447 }
@@ -1452,11 +1452,11 @@ func newLeaf(ctx *sql.Context, id indexScanId, e sql.Expression, underlying stri
14521452 }
14531453
14541454 return & iScanLeaf {
1455- id : id ,
1456- gf : gf ,
1457- op : op ,
1458- litValue : value ,
1459- litType : right .Type (),
1455+ id : id ,
1456+ gf : gf ,
1457+ op : op ,
1458+ litValue : value ,
1459+ litType : right .Type (),
14601460 underlying : underlying ,
14611461 }, true
14621462}
@@ -1467,7 +1467,7 @@ func IndexLeafChildren(e sql.Expression) (sql.IndexScanOp, sql.Expression, sql.E
14671467 var left sql.Expression
14681468 var right sql.Expression
14691469 switch e := e .(type ) {
1470- // TODO: we need to extract an interface here so that pg expressions can use them as well
1470+ // TODO: we need to extract an interface here so that pg expressions can use them as well
14711471 case * expression.NullSafeEquals :
14721472 op = sql .IndexScanOpNullSafeEq
14731473 right = e .Right ()
@@ -1555,7 +1555,7 @@ func IndexLeafChildren(e sql.Expression) (sql.IndexScanOp, sql.Expression, sql.E
15551555 ok := false
15561556 op , left , right , ok = e .IndexScanOperation ()
15571557 if ! ok {
1558- return 0 , nil , nil , false
1558+ return 0 , nil , nil , false
15591559 }
15601560 default :
15611561 return 0 , nil , nil , false
0 commit comments