Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update plsql-parser to fix some bugs (#11201)
rebelice1953849bde03
diff --git a/backend/plugin/parser/plsql/plsql_test.go b/backend/plugin/parser/plsql/plsql_test.goindex 987b0f7c72..60658d028f 100644--- a/backend/plugin/parser/plsql/plsql_test.go+++ b/backend/plugin/parser/plsql/plsql_test.go@@ -12,6 +12,11 @@ func TestPLSQLParser(t *testing.T) {statement stringerrorMessage string}{+ {+ statement: `+ SELECT q'\This is String\' FROM DUAL;+ `,+ },{statement: "SELECT * FROM t1 WHERE c1 = 1; SELECT * FROM t2;",},diff --git a/go.mod b/go.modindex d11e79c341..98f849a565 100644--- a/go.mod+++ b/go.mod@@ -17,7 +17,7 @@ require (github.com/beltran/gohive v1.7.0github.com/blang/semver/v4 v4.0.0github.com/bytebase/mysql-parser v0.0.0-20240315091443-ac59cc21115a- github.com/bytebase/plsql-parser v0.0.0-20240312070534-3df16db96661+ github.com/bytebase/plsql-parser v0.0.0-20240322071012-dfb1a879b106github.com/bytebase/postgresql-parser v0.0.0-20231221075352-cf5025e0d56fgithub.com/bytebase/snowsql-parser v0.0.0-20240304100801-bb357ccb5535github.com/bytebase/tidb-parser v0.0.0-20240112100539-135234be63bddiff --git a/go.sum b/go.sumindex 8a2b894857..d8996e3298 100644--- a/go.sum+++ b/go.sum@@ -162,8 +162,8 @@ github.com/bytebase/mysql-parser v0.0.0-20240315091443-ac59cc21115a h1:XThmcLuTwgithub.com/bytebase/mysql-parser v0.0.0-20240315091443-ac59cc21115a/go.mod h1:n22yoTeLcphIYQlV6nbufQbHMxNceOjeGDOrpaRIhiY=github.com/bytebase/pg_query_go/v4 v4.0.0-20230802100607-2f34e68d96f5 h1:3Ihj6fsBY7rAKzOO2nxJocq9uOxARAwoalhC84ntjec=github.com/bytebase/pg_query_go/v4 v4.0.0-20230802100607-2f34e68d96f5/go.mod h1:aEkDNOXNM5j0YGzaAapwJ7LB3dLNj+bvbWcLv1hOVqA=-github.com/bytebase/plsql-parser v0.0.0-20240312070534-3df16db96661 h1:CXpugF7Y7Etm4DchYvafe2XI6ExAHC6J1sAd+s59AEI=-github.com/bytebase/plsql-parser v0.0.0-20240312070534-3df16db96661/go.mod h1:kL1Tk89SNE7wPnUzkVMJ9v012an5z8as7OUmkapJQGs=+github.com/bytebase/plsql-parser v0.0.0-20240322071012-dfb1a879b106 h1:IHP4O2O2vwiPUEuRk1rJj9s65/naGv/ESLYx0BVepfo=+github.com/bytebase/plsql-parser v0.0.0-20240322071012-dfb1a879b106/go.mod h1:kL1Tk89SNE7wPnUzkVMJ9v012an5z8as7OUmkapJQGs=github.com/bytebase/postgresql-parser v0.0.0-20231221075352-cf5025e0d56f h1:mwn17HA984i5cz1vIkiF265a6LZplCAqIPqQn7c0V0s=github.com/bytebase/postgresql-parser v0.0.0-20231221075352-cf5025e0d56f/go.mod h1:Jft7oabwuwD+t5BYiUfTjcNVaihZ8F5KT8TsROG0EaE=github.com/bytebase/snowsql-parser v0.0.0-20240304100801-bb357ccb5535 h1:sgEzM1Y8WUAR8n8fOjVtx62Cz7HuUILtONkPQ8IvFNk=