Skip to content

Commit 871d26e

Browse files
committed
more variable setting
1 parent 4413e0a commit 871d26e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

integration-tests/go-sql-server-driver/tests/sql-server-orig.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ tests:
257257
- on: repo1
258258
queries:
259259
- exec: "CREATE TABLE test(pk int primary key, c1 int, c2 int, c3 int, c4 int, c5 int)"
260-
- exec: "SET GLOBAL local_infile = 1"
260+
- exec: "SET local_infile = 1"
261261
- exec: "LOAD DATA LOCAL INFILE 'testdata/1pk5col-ints.csv' INTO TABLE test CHARACTER SET UTF8MB4 FIELDS TERMINATED BY ',' ESCAPED BY '' LINES TERMINATED BY '\n' IGNORE 1 LINES"
262262
- query: "SELECT * FROM test"
263263
result:
@@ -277,7 +277,7 @@ tests:
277277
queries:
278278
- exec: "CREATE TABLE test(pk int primary key, c1 int, c2 int, c3 int, c4 int, c5 int)"
279279
- exec: "INSERT INTO test VALUES (0, 0, 0, 0, 0, 0)"
280-
- exec: "SET GLOBAL local_infile = 1"
280+
- exec: "SET local_infile = 1"
281281
- exec: "LOAD DATA LOCAL INFILE 'testdata/1pk5col-ints.csv' INTO TABLE test CHARACTER SET UTF8MB4 FIELDS TERMINATED BY ',' ESCAPED BY '' LINES TERMINATED BY '\n' IGNORE 1 LINES"
282282
- query: "SELECT * FROM test"
283283
result:
@@ -297,7 +297,7 @@ tests:
297297
queries:
298298
- exec: "CREATE TABLE test(pk int primary key, c1 int, c2 int, c3 int, c4 int, c5 int)"
299299
- exec: "INSERT INTO test VALUES (0, 0, 0, 0, 0, 0)"
300-
- exec: "SET GLOBAL local_infile = 1"
300+
- exec: "SET local_infile = 1"
301301
- exec: "LOAD DATA LOCAL INFILE 'testdata/1pk5col-ints.csv' REPLACE INTO TABLE test CHARACTER SET UTF8MB4 FIELDS TERMINATED BY ',' ESCAPED BY '' LINES TERMINATED BY '\n' IGNORE 1 LINES"
302302
- query: "SELECT * FROM test"
303303
result:

0 commit comments

Comments
 (0)