(n *pg.DropUserMappingStmt)
| 1502 | } |
| 1503 | |
| 1504 | func convertDropUserMappingStmt(n *pg.DropUserMappingStmt) *ast.DropUserMappingStmt { |
| 1505 | if n == nil { |
| 1506 | return nil |
| 1507 | } |
| 1508 | return &ast.DropUserMappingStmt{ |
| 1509 | User: convertRoleSpec(n.User), |
| 1510 | Servername: makeString(n.Servername), |
| 1511 | MissingOk: n.MissingOk, |
| 1512 | } |
| 1513 | } |
| 1514 | |
| 1515 | func convertDropdbStmt(n *pg.DropdbStmt) *ast.DropdbStmt { |
| 1516 | if n == nil { |
no test coverage detected