(n expr.Node)
| 1963 | } |
| 1964 | |
| 1965 | func convertIdentityToValue(n expr.Node) { |
| 1966 | switch nt := n.(type) { |
| 1967 | case *expr.BinaryNode: |
| 1968 | switch rhn := nt.Args[1].(type) { |
| 1969 | case *expr.IdentityNode: |
| 1970 | rh2 := expr.NewStringNode(rhn.Text) |
| 1971 | rh2.Quote = rhn.Quote |
| 1972 | nt.Args[1] = rh2 |
| 1973 | } |
| 1974 | } |
| 1975 | } |
| 1976 | |
| 1977 | func (m *Sqlbridge) parseLimit(req *SqlSelect) error { |
| 1978 | if m.Cur().T != lex.TokenLimit { |
no test coverage detected