示例#1
0
func sameTypeExprs(left, right parser.TypedExpr) bool {
	leftType := left.ReturnType()
	if leftType == parser.DNull {
		return true
	}
	rightType := right.ReturnType()
	if rightType == parser.DNull {
		return true
	}
	return leftType.TypeEqual(rightType)
}