(n *pg.VariableSetStmt)
| 2842 | } |
| 2843 | |
| 2844 | func convertVariableSetStmt(n *pg.VariableSetStmt) *ast.VariableSetStmt { |
| 2845 | if n == nil { |
| 2846 | return nil |
| 2847 | } |
| 2848 | return &ast.VariableSetStmt{ |
| 2849 | Kind: ast.VariableSetKind(n.Kind), |
| 2850 | Name: makeString(n.Name), |
| 2851 | Args: convertSlice(n.Args), |
| 2852 | IsLocal: n.IsLocal, |
| 2853 | } |
| 2854 | } |
| 2855 | |
| 2856 | func convertVariableShowStmt(n *pg.VariableShowStmt) *ast.VariableShowStmt { |
| 2857 | if n == nil { |
no test coverage detected