mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 22:55:32 +02:00
Bug #36041: mysql-test-run doesn't seem to string match
100% effectively on Windows The mysqltest docs state that the 'replace_result' command doesn't perform any escape processing. However the current implementation was processing backslash escapes in the from/to strings. This prevents replacing e.g. patch on windows (where backslash is used as a path separator). Fixed by removing the backslash escape processing from 'replace_result'. client/mysqltest.c: Bug #36041: remove the escape processing from --replace_result mysql-test/r/mysqltest.result: Bug #36041: test case mysql-test/t/mysqltest.test: Bug #36041: test case
This commit is contained in:
parent
2ea403e19c
commit
6e6d60732b
3 changed files with 11 additions and 31 deletions
|
|
@ -2123,6 +2123,13 @@ rmdir $MYSQLTEST_VARDIR/tmp/testdir;
|
|||
remove_file $MYSQLTEST_VARDIR/tmp/testdir/file1.txt;
|
||||
rmdir $MYSQLTEST_VARDIR/tmp/testdir;
|
||||
|
||||
#
|
||||
# Bug #36041: mysql-test-run doesn't seem to string match 100% effectively
|
||||
# on Windows
|
||||
#
|
||||
|
||||
--replace_result c:\\a.txt z
|
||||
SELECT 'c:\\a.txt' AS col;
|
||||
|
||||
--echo End of tests
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue