ParseSQL only for test, use ClientConn.parser for handling request
(sql string)
| 270 | |
| 271 | // ParseSQL only for test, use ClientConn.parser for handling request |
| 272 | func ParseSQL(sql string) (ast.StmtNode, error) { |
| 273 | ps := New() |
| 274 | return ps.ParseOneStmt(sql, "", "") |
| 275 | } |
| 276 | |
| 277 | const resultTableNameFlag pformat.RestoreFlags = 0 |
| 278 |