mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 00:40:55 -06:00
Unskip test for export quotes
This commit is contained in:
@@ -185,4 +185,6 @@ require (
|
||||
|
||||
replace github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi => ./gen/proto/dolt/services/eventsapi
|
||||
|
||||
replace github.com/dolthub/go-mysql-server => ../../go-mysql-server
|
||||
|
||||
go 1.24.0
|
||||
|
||||
@@ -221,8 +221,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-20250327004329-6799764f2dad h1:66ZPawHszNu37VPQckdhX1BPPVzREsGgNxQeefnlm3g=
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20250327004329-6799764f2dad/go.mod h1:ylU4XjUpsMcvl/BKeRRMXSH7e7WBrPXdSLvnRJYrxEA=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20250527234113-f38274720545 h1:O+/sjRQJadYzyVr89Zh9yCnhZJ0NlHwiDYsXHnj3LsU=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20250527234113-f38274720545/go.mod h1:Zn9XK5KLYwPbyMpwfeUP+TgnhlgyID2vXf1WcF0M6Fk=
|
||||
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=
|
||||
|
||||
@@ -171,19 +171,14 @@ SQL
|
||||
}
|
||||
|
||||
@test "export-tables: broken SQL escaping" {
|
||||
skip "Export embeds single quote in string without escaping it https://github.com/dolthub/dolt/issues/2197"
|
||||
|
||||
dolt sql <<SQL
|
||||
create table sets (a varchar(10) primary key, b set('one','two','three\'s'));
|
||||
insert into sets values ('abc', 'one,two'), ('def', 'two,three\'s');
|
||||
SQL
|
||||
dolt sql -q "create table sets (a varchar(10) primary key, b set('one','two','three\\'s'));"
|
||||
dolt sql -q "insert into sets values ('abc', 'one,two'), ('def', 'two,three\\'s');"
|
||||
|
||||
dolt commit -am "Checkpoint"
|
||||
dolt add .
|
||||
dolt commit -m "Checkpoint"
|
||||
|
||||
dolt table export sets -f export.sql
|
||||
|
||||
|
||||
|
||||
dolt sql < export.sql
|
||||
|
||||
run dolt status
|
||||
|
||||
Reference in New Issue
Block a user