(p *Parser)
| 124 | } |
| 125 | |
| 126 | func (q *QueryParser) parseShowCreateTable(p *Parser) parseState { |
| 127 | y, ok := p.scan() |
| 128 | if !ok { |
| 129 | p.errorUnexpectedEOF() |
| 130 | return nil |
| 131 | } |
| 132 | if !isOfAny(y, TIdentifier) { |
| 133 | p.errorUnexpectedLex(y, TIdentifier) |
| 134 | return nil |
| 135 | } |
| 136 | |
| 137 | q.Tree.ShowCreateTables = append(q.Tree.ShowCreateTables, identValue(y)) |
| 138 | |
| 139 | return q.ParseStart |
| 140 | } |
| 141 | |
| 142 | func (q *QueryParser) parseSelect(p *Parser) parseState { |
| 143 | qry := &Query{ |
nothing calls this directly
no test coverage detected