Skip to content

Commit a17a256

Browse files
committed
Fix for StatementRegressionTest.testBug107543_IntoFile() failing when
running on Windows.
1 parent 0d642f5 commit a17a256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/testsuite/regression/StatementRegressionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14615,7 +14615,7 @@ public void testBug107543_IntoFile() throws Exception {
1461514615
Path dataFilePath = Paths.get(filePrivDir, "testbug107543.dat");
1461614616
for (String statement : new String[] { "SELECT * FROM", "TABLE" }) {
1461714617
for (String outType : new String[] { "OUTFILE", "DUMPFILE" }) {
14618-
final String sql = statement + " testBug107543 INTO " + outType + " '" + dataFilePath.toString() + "'";
14618+
final String sql = statement + " testBug107543 INTO " + outType + " '" + dataFilePath.toString().replace("\\", "\\\\") + "'";
1461914619

1462014620
// Test 1: execute() with INTO [OUTFILE | DUMPFILE]
1462114621
try {

0 commit comments

Comments
 (0)