func (v *typeInferrer) handleValueExpr(x *ast.ValueExpr) { tp := types.DefaultTypeForValue(x.GetValue()) // Set charset and collation x.SetType(tp) }
func (c *expressionConverter) value(v *ast.ValueExpr) { c.exprMap[v] = expression.Value{Val: v.GetValue()} }
func (v *typeInferrer) handleValueExpr(x *ast.ValueExpr) { types.DefaultTypeForValue(x.GetValue(), x.GetType()) }