refactor sql parser.

This commit is contained in:
wenshao
2017-09-18 11:25:40 +08:00
parent 3c98a1eee5
commit 8343ca08c4
29 changed files with 201 additions and 499 deletions
@@ -16,11 +16,11 @@
package com.alibaba.druid.bvt.sql.postgresql;
import com.alibaba.druid.sql.PGTest;
import com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSetStatement;
import com.alibaba.druid.sql.ast.statement.SQLSetStatement;
public class PGSetTest3 extends PGTest {
public void testSet() throws Exception {
Class<?> type = PGSetStatement.class;
Class<?> type = SQLSetStatement.class;
String sql = "SET TIME ZONE 'Europe/Rome';";
String expectedSql = "SET TIME ZONE 'Europe/Rome';";