From a600cadb45ded6fab9fa641029b763a3305e3440 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Mon, 21 Oct 2024 17:33:02 -0700 Subject: [PATCH 1/9] Fixed test --- testing/go/foreign_keys_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index 26f47d0f04..b99f4656b1 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -134,10 +134,11 @@ func TestForeignKeys(t *testing.T) { }, { Name: "foreign key in another schema with search path", - Skip: true, // no GMS support for schemas in foreign key defns + Focus: true, SetUpScript: []string{ "create schema parent", "create schema child", + "call dolt_commit('-Am', 'create schemas')", "set search_path to 'parent, child'", "create table parent.parent (pk int, \"value\" int, primary key(pk));", "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id), foreign key (test_pk) references parent(pk))", From 277584f19f5afecaf493621c3c6cef4b89a389c0 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 22 Oct 2024 11:52:19 -0700 Subject: [PATCH 2/9] More tests --- testing/go/foreign_keys_test.go | 71 ++++++++++++++++++++++++++++++--- 1 file changed, 65 insertions(+), 6 deletions(-) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index b99f4656b1..1250fc3657 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -138,10 +138,64 @@ func TestForeignKeys(t *testing.T) { SetUpScript: []string{ "create schema parent", "create schema child", + "create schema fake", "call dolt_commit('-Am', 'create schemas')", "set search_path to 'parent, child'", - "create table parent.parent (pk int, \"value\" int, primary key(pk));", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id), foreign key (test_pk) references parent(pk))", + "INSERT INTO parent VALUES (0, 0), (1, 1), (2,2)", + "SELECT DOLT_ADD('.')", + }, + Assertions: []ScriptTestAssertion{ + { + Query: "SELECT * FROM dolt_status", + Expected: []sql.Row{ + {"child.child", 1, "new table"}, + {"fake.parent", 1, "new table"}, + {"parent.parent", 1, "new table"}, + }, + }, + { + Query: "SELECT dolt_commit('-am', 'new tables')", + SkipResultsCheck: true, + }, + { + Query: "SELECT * FROM dolt_status", + Expected: []sql.Row{}, + }, + { + Query: "SELECT * FROM dolt_schema_diff('HEAD', 'WORKING', 'child')", + Expected: []sql.Row{}, + }, + { + Query: "INSERT INTO child VALUES (2, 'two', 2)", + Expected: []sql.Row{}, + }, + { + Query: "INSERT INTO child VALUES (3, 'three', 3)", + ExpectedErr: "Foreign key violation", + }, + { + Query: "SELECT * FROM child.child", + Expected: []sql.Row{ + {2, "two", 2}, + }, + }, + }, + }, + { + Name: "foreign key in another schema with search path, parent table not on search path", + Focus: true, + SetUpScript: []string{ + "create schema parent", + "create schema child", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + "set search_path to 'child, fake'", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, + "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id), foreign key (test_pk) references parent.parent(pk))", "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", "SELECT DOLT_ADD('.')", }, @@ -150,6 +204,7 @@ func TestForeignKeys(t *testing.T) { Query: "SELECT * FROM dolt_status", Expected: []sql.Row{ {"child.child", 1, "new table"}, + {"fake.parent", 1, "new table"}, {"parent.parent", 1, "new table"}, }, }, @@ -166,11 +221,11 @@ func TestForeignKeys(t *testing.T) { Expected: []sql.Row{}, }, { - Query: "INSERT INTO child.child VALUES (2, 'two', 2)", + Query: "INSERT INTO child VALUES (2, 'two', 2)", Expected: []sql.Row{}, }, { - Query: "INSERT INTO child.child VALUES (3, 'three', 3)", + Query: "INSERT INTO child VALUES (3, 'three', 3)", ExpectedErr: "Foreign key violation", }, { @@ -182,12 +237,15 @@ func TestForeignKeys(t *testing.T) { }, }, { - Name: "foreign key in another schema", - Skip: true, // no GMS support for schemas in foreign key defns + Name: "foreign key in another schema, no search path", + Focus: true, SetUpScript: []string{ "create schema parent", "create schema child", - "create table parent.parent (pk int, \"value\" int, primary key(pk));", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id), foreign key (test_pk) references parent.parent(pk))", "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", "SELECT DOLT_ADD('.')", @@ -197,6 +255,7 @@ func TestForeignKeys(t *testing.T) { Query: "SELECT * FROM dolt_status", Expected: []sql.Row{ {"child.child", 1, "new table"}, + {"fake.parent", 1, "new table"}, {"parent.parent", 1, "new table"}, }, }, From 0e72a21651f80d6941d06c81dbbc70be3be80d31 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 22 Oct 2024 12:02:36 -0700 Subject: [PATCH 3/9] Another test, failing --- testing/go/foreign_keys_test.go | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index 1250fc3657..4a9e77deb7 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -287,6 +287,41 @@ func TestForeignKeys(t *testing.T) { }, }, }, + { + Name: "add foreign key in another schema, no search path", + Focus: true, + SetUpScript: []string{ + "create schema parent", + "create schema child", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, + "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id))", + "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", + "SELECT DOLT_COMMIT('-Am', 'new tables')", + }, + Assertions: []ScriptTestAssertion{ + { + Query: "INSERT INTO child.child VALUES (2, 'two', 2)", + Expected: []sql.Row{}, + }, + { + Query: "ALTER TABLE child.child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", + SkipResultsCheck: true, + }, + { + Query: "INSERT INTO child.child VALUES (3, 'three', 3)", + ExpectedErr: "Foreign key violation", + }, + { + Query: "SELECT * FROM child.child", + Expected: []sql.Row{ + {2, "two", 2}, + }, + }, + }, + }, }, ) } From 8ba6912bf51c3920fdf6bf62ceae1522cb4451ef Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 22 Oct 2024 14:58:56 -0700 Subject: [PATCH 4/9] more tests --- testing/go/foreign_keys_test.go | 40 +++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index 4a9e77deb7..3eb105b77a 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -134,7 +134,6 @@ func TestForeignKeys(t *testing.T) { }, { Name: "foreign key in another schema with search path", - Focus: true, SetUpScript: []string{ "create schema parent", "create schema child", @@ -186,7 +185,6 @@ func TestForeignKeys(t *testing.T) { }, { Name: "foreign key in another schema with search path, parent table not on search path", - Focus: true, SetUpScript: []string{ "create schema parent", "create schema child", @@ -238,7 +236,6 @@ func TestForeignKeys(t *testing.T) { }, { Name: "foreign key in another schema, no search path", - Focus: true, SetUpScript: []string{ "create schema parent", "create schema child", @@ -288,8 +285,43 @@ func TestForeignKeys(t *testing.T) { }, }, { - Name: "add foreign key in another schema, no search path", + Name: "add foreign key in another schema on search path", Focus: true, + SetUpScript: []string{ + "create schema parent", + "create schema child", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + "set search_path to 'child, parent'", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, + "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id))", + "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", + "SELECT DOLT_COMMIT('-Am', 'new tables')", + }, + Assertions: []ScriptTestAssertion{ + { + Query: "INSERT INTO child.child VALUES (2, 'two', 2)", + Expected: []sql.Row{}, + }, + { + Query: "ALTER TABLE child ADD FOREIGN KEY (test_pk) REFERENCES parent(pk)", + SkipResultsCheck: true, + }, + { + Query: "INSERT INTO child VALUES (3, 'three', 3)", + ExpectedErr: "Foreign key violation", + }, + { + Query: "SELECT * FROM child", + Expected: []sql.Row{ + {2, "two", 2}, + }, + }, + }, + }, + { + Name: "add foreign key in another schema, no search path", SetUpScript: []string{ "create schema parent", "create schema child", From 6e780ab7cc90d1ea936740c213fb54080d12cf6c Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 22 Oct 2024 15:26:13 -0700 Subject: [PATCH 5/9] More testing --- testing/go/foreign_keys_test.go | 36 ++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index 3eb105b77a..b2a37bcc8f 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -286,7 +286,6 @@ func TestForeignKeys(t *testing.T) { }, { Name: "add foreign key in another schema on search path", - Focus: true, SetUpScript: []string{ "create schema parent", "create schema child", @@ -320,6 +319,41 @@ func TestForeignKeys(t *testing.T) { }, }, }, + { + Name: "add foreign key in another schema, parent table not on search path", + SetUpScript: []string{ + "create schema parent", + "create schema child", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + "set search_path to 'child, fake'", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, + "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id))", + "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", + "SELECT DOLT_COMMIT('-Am', 'new tables')", + }, + Assertions: []ScriptTestAssertion{ + { + Query: "INSERT INTO child.child VALUES (2, 'two', 2)", + Expected: []sql.Row{}, + }, + { + Query: "ALTER TABLE child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", + SkipResultsCheck: true, + }, + { + Query: "INSERT INTO child VALUES (3, 'three', 3)", + ExpectedErr: "Foreign key violation", + }, + { + Query: "SELECT * FROM child", + Expected: []sql.Row{ + {2, "two", 2}, + }, + }, + }, + }, { Name: "add foreign key in another schema, no search path", SetUpScript: []string{ From d75e591c6663b38640dd77f7b2f0590ff575ab09 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 22 Oct 2024 16:12:58 -0700 Subject: [PATCH 6/9] More tests --- testing/go/foreign_keys_test.go | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index b2a37bcc8f..6bb9feb1fd 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -388,6 +388,68 @@ func TestForeignKeys(t *testing.T) { }, }, }, + { + Name: "drop foreign key in another schema, on search path", + SetUpScript: []string{ + "create schema parent", + "create schema child", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + "set search_path to 'child, parent'", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, + "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id))", + "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", + "SELECT DOLT_COMMIT('-Am', 'new tables')", + "INSERT INTO child.child VALUES (2, 'two', 2)", + "ALTER TABLE child.child ADD FOREIGN KEY (test_pk) REFERENCES parent(pk)", + }, + Assertions: []ScriptTestAssertion{ + { + Query: "INSERT INTO child.child VALUES (3, 'three', 3)", + ExpectedErr: "Foreign key violation", + }, + { + Query: "alter table child DROP constraint child_ibfk_1", + SkipResultsCheck: true, + }, + { + Query: "INSERT INTO child.child VALUES (3, 'three', 3)", + Expected: []sql.Row{}, + }, + }, + }, + { + Name: "drop foreign key in another schema, no search path", + Skip: true, // not getting the explicit schema name passed to the node + SetUpScript: []string{ + "create schema parent", + "create schema child", + "create schema fake", + "call dolt_commit('-Am', 'create schemas')", + `create table parent.parent (pk int, val int, primary key(pk));`, + `create table fake.parent (pk int, val int, primary key(pk));`, + "CREATE TABLE child.child (id int, info varchar(255), test_pk int, primary key(id))", + "INSERT INTO parent.parent VALUES (0, 0), (1, 1), (2,2)", + "SELECT DOLT_COMMIT('-Am', 'new tables')", + "INSERT INTO child.child VALUES (2, 'two', 2)", + "ALTER TABLE child.child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", + }, + Assertions: []ScriptTestAssertion{ + { + Query: "INSERT INTO child.child VALUES (3, 'three', 3)", + ExpectedErr: "Foreign key violation", + }, + { + Query: "alter table child.child DROP constraint child_ibfk_1", + SkipResultsCheck: true, + }, + { + Query: "INSERT INTO child.child VALUES (3, 'three', 3)", + Expected: []sql.Row{}, + }, + }, + }, }, ) } From 5b88f9284f62239b160dbd1dfb36cd4f4873a7b2 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Tue, 22 Oct 2024 16:58:11 -0700 Subject: [PATCH 7/9] Formatting --- testing/go/foreign_keys_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/go/foreign_keys_test.go b/testing/go/foreign_keys_test.go index 6bb9feb1fd..35e42b288d 100755 --- a/testing/go/foreign_keys_test.go +++ b/testing/go/foreign_keys_test.go @@ -304,7 +304,7 @@ func TestForeignKeys(t *testing.T) { Expected: []sql.Row{}, }, { - Query: "ALTER TABLE child ADD FOREIGN KEY (test_pk) REFERENCES parent(pk)", + Query: "ALTER TABLE child ADD FOREIGN KEY (test_pk) REFERENCES parent(pk)", SkipResultsCheck: true, }, { @@ -339,7 +339,7 @@ func TestForeignKeys(t *testing.T) { Expected: []sql.Row{}, }, { - Query: "ALTER TABLE child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", + Query: "ALTER TABLE child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", SkipResultsCheck: true, }, { @@ -373,7 +373,7 @@ func TestForeignKeys(t *testing.T) { Expected: []sql.Row{}, }, { - Query: "ALTER TABLE child.child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", + Query: "ALTER TABLE child.child ADD FOREIGN KEY (test_pk) REFERENCES parent.parent(pk)", SkipResultsCheck: true, }, { @@ -410,7 +410,7 @@ func TestForeignKeys(t *testing.T) { ExpectedErr: "Foreign key violation", }, { - Query: "alter table child DROP constraint child_ibfk_1", + Query: "alter table child DROP constraint child_ibfk_1", SkipResultsCheck: true, }, { @@ -441,7 +441,7 @@ func TestForeignKeys(t *testing.T) { ExpectedErr: "Foreign key violation", }, { - Query: "alter table child.child DROP constraint child_ibfk_1", + Query: "alter table child.child DROP constraint child_ibfk_1", SkipResultsCheck: true, }, { From 508860e5c6c97c019f3c0dab3c50f5bb0f780e04 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Thu, 24 Oct 2024 17:26:13 -0700 Subject: [PATCH 8/9] New deps --- go.mod | 10 ++++++++-- go.sum | 6 ------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 43a4a73bf7..50733a71df 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,11 @@ module github.com/dolthub/doltgresql +replace github.com/dolthub/vitess => ../vitess + +replace github.com/dolthub/go-mysql-server => ../go-mysql-server + +replace github.com/dolthub/dolt/go => ../dolt/go + go 1.22.2 toolchain go1.22.3 @@ -8,11 +14,11 @@ require ( github.com/PuerkitoBio/goquery v1.8.1 github.com/cockroachdb/apd/v2 v2.0.3-0.20200518165714-d020e156310a github.com/cockroachdb/errors v1.7.5 - github.com/dolthub/dolt/go v0.40.5-0.20241022005459-1290f6a902c8 + github.com/dolthub/dolt/go v0.40.5-0.20241025002354-1bf5606b7e23 github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi v0.0.0-20240827111219-e4bb9ca3442d github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 github.com/dolthub/go-icu-regex v0.0.0-20240916130659-0118adc6b662 - github.com/dolthub/go-mysql-server v0.18.2-0.20241022002146-c5725b1bf340 + github.com/dolthub/go-mysql-server v0.18.2-0.20241024233927-96a484368bea github.com/dolthub/sqllogictest/go v0.0.0-20240618184124-ca47f9354216 github.com/dolthub/vitess v0.0.0-20241016191424-d14e107a654e github.com/fatih/color v1.13.0 diff --git a/go.sum b/go.sum index 5458f3b151..b1c1aac9ae 100644 --- a/go.sum +++ b/go.sum @@ -214,8 +214,6 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/dolthub/dolt/go v0.40.5-0.20241022005459-1290f6a902c8 h1:N0V3lAnC7vWscLYDg3ZNVjIYoOJWeQxlOd/kvwBJhIM= -github.com/dolthub/dolt/go v0.40.5-0.20241022005459-1290f6a902c8/go.mod h1:24J7n/VGWEwl5EM8qLBDxaAJBxRt0rraOcoYRBVFIYg= github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi v0.0.0-20240827111219-e4bb9ca3442d h1:RZkQeYOrDrOWzCxaP2ttkvg4E2TM9n8lnEsIBLKjqkM= github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi v0.0.0-20240827111219-e4bb9ca3442d/go.mod h1:L5RDYZbC9BBWmoU2+TjTekeqqhFXX5EqH9ln00O0stY= github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 h1:u3PMzfF8RkKd3lB9pZ2bfn0qEG+1Gms9599cr0REMww= @@ -224,8 +222,6 @@ github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U= github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0= github.com/dolthub/go-icu-regex v0.0.0-20240916130659-0118adc6b662 h1:aC17hZD6iwzBwwfO5M+3oBT5E5gGRiQPdn+vzpDXqIA= github.com/dolthub/go-icu-regex v0.0.0-20240916130659-0118adc6b662/go.mod h1:KPUcpx070QOfJK1gNe0zx4pA5sicIK1GMikIGLKC168= -github.com/dolthub/go-mysql-server v0.18.2-0.20241022002146-c5725b1bf340 h1:OJkZTo67Ikm6Tz6ml4Mn9qbC6he49X9dZfYqIwaZrNM= -github.com/dolthub/go-mysql-server v0.18.2-0.20241022002146-c5725b1bf340/go.mod h1:z/GGuH2asedC+lkJA4sx+C3oyRH1HRx8ET6N9AGBVms= github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 h1:OAsXLAPL4du6tfbBgK0xXHZkOlos63RdKYS3Sgw/dfI= github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63/go.mod h1:lV7lUeuDhH5thVGDCKXbatwKy2KW80L4rMT46n+Y2/Q= github.com/dolthub/ishell v0.0.0-20240701202509-2b217167d718 h1:lT7hE5k+0nkBdj/1UOSFwjWpNxf+LCApbRHgnCA17XE= @@ -238,8 +234,6 @@ github.com/dolthub/sqllogictest/go v0.0.0-20240618184124-ca47f9354216 h1:JWkKRE4 github.com/dolthub/sqllogictest/go v0.0.0-20240618184124-ca47f9354216/go.mod h1:e/FIZVvT2IR53HBCAo41NjqgtEnjMJGKca3Y/dAmZaA= github.com/dolthub/swiss v0.1.0 h1:EaGQct3AqeP/MjASHLiH6i4TAmgbG/c4rA6a1bzCOPc= github.com/dolthub/swiss v0.1.0/go.mod h1:BeucyB08Vb1G9tumVN3Vp/pyY4AMUnr9p7Rz7wJ7kAQ= -github.com/dolthub/vitess v0.0.0-20241016191424-d14e107a654e h1:Ssd/iV0hAOShAgr0c4pJQNgh2E4my2XHblFIIam0D+4= -github.com/dolthub/vitess v0.0.0-20241016191424-d14e107a654e/go.mod h1:uBvlRluuL+SbEWTCZ68o0xvsdYZER3CEG/35INdzfJM= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= From 32ab888d1a2f668cca178c17c8a2cea819abc841 Mon Sep 17 00:00:00 2001 From: Zach Musgrave Date: Thu, 24 Oct 2024 17:37:56 -0700 Subject: [PATCH 9/9] Remove local overrides --- go.mod | 6 ------ go.sum | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 50733a71df..41d054c911 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,5 @@ module github.com/dolthub/doltgresql -replace github.com/dolthub/vitess => ../vitess - -replace github.com/dolthub/go-mysql-server => ../go-mysql-server - -replace github.com/dolthub/dolt/go => ../dolt/go - go 1.22.2 toolchain go1.22.3 diff --git a/go.sum b/go.sum index b1c1aac9ae..353af84dd1 100644 --- a/go.sum +++ b/go.sum @@ -214,6 +214,8 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/dolthub/dolt/go v0.40.5-0.20241025002354-1bf5606b7e23 h1:R/isZppGvXrUIujDnYblRvdfGJxgsNSbnNwG6Bu2BSY= +github.com/dolthub/dolt/go v0.40.5-0.20241025002354-1bf5606b7e23/go.mod h1:Dlf8rNaNwRfW+RRcsGxDxxpkwB616hrh5Gqr2YJGQOg= github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi v0.0.0-20240827111219-e4bb9ca3442d h1:RZkQeYOrDrOWzCxaP2ttkvg4E2TM9n8lnEsIBLKjqkM= github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi v0.0.0-20240827111219-e4bb9ca3442d/go.mod h1:L5RDYZbC9BBWmoU2+TjTekeqqhFXX5EqH9ln00O0stY= github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 h1:u3PMzfF8RkKd3lB9pZ2bfn0qEG+1Gms9599cr0REMww= @@ -222,6 +224,8 @@ github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U= github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0= github.com/dolthub/go-icu-regex v0.0.0-20240916130659-0118adc6b662 h1:aC17hZD6iwzBwwfO5M+3oBT5E5gGRiQPdn+vzpDXqIA= github.com/dolthub/go-icu-regex v0.0.0-20240916130659-0118adc6b662/go.mod h1:KPUcpx070QOfJK1gNe0zx4pA5sicIK1GMikIGLKC168= +github.com/dolthub/go-mysql-server v0.18.2-0.20241024233927-96a484368bea h1:bqHfelpj4LTC4RQnnFeC8KiXda90E0YfG0Elg5AqV0w= +github.com/dolthub/go-mysql-server v0.18.2-0.20241024233927-96a484368bea/go.mod h1:z/GGuH2asedC+lkJA4sx+C3oyRH1HRx8ET6N9AGBVms= github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 h1:OAsXLAPL4du6tfbBgK0xXHZkOlos63RdKYS3Sgw/dfI= github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63/go.mod h1:lV7lUeuDhH5thVGDCKXbatwKy2KW80L4rMT46n+Y2/Q= github.com/dolthub/ishell v0.0.0-20240701202509-2b217167d718 h1:lT7hE5k+0nkBdj/1UOSFwjWpNxf+LCApbRHgnCA17XE= @@ -234,6 +238,8 @@ github.com/dolthub/sqllogictest/go v0.0.0-20240618184124-ca47f9354216 h1:JWkKRE4 github.com/dolthub/sqllogictest/go v0.0.0-20240618184124-ca47f9354216/go.mod h1:e/FIZVvT2IR53HBCAo41NjqgtEnjMJGKca3Y/dAmZaA= github.com/dolthub/swiss v0.1.0 h1:EaGQct3AqeP/MjASHLiH6i4TAmgbG/c4rA6a1bzCOPc= github.com/dolthub/swiss v0.1.0/go.mod h1:BeucyB08Vb1G9tumVN3Vp/pyY4AMUnr9p7Rz7wJ7kAQ= +github.com/dolthub/vitess v0.0.0-20241016191424-d14e107a654e h1:Ssd/iV0hAOShAgr0c4pJQNgh2E4my2XHblFIIam0D+4= +github.com/dolthub/vitess v0.0.0-20241016191424-d14e107a654e/go.mod h1:uBvlRluuL+SbEWTCZ68o0xvsdYZER3CEG/35INdzfJM= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=