[MDEV-4116] LOAD_FILE() does not understand paths with '\' Created: 2013-01-30 Updated: 2013-01-30 Resolved: 2013-01-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.0, 5.5.28a, 5.3.11, 5.2.13, 5.1.66 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Federico Razzoli | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
WinXP |
||
| Description |
|
If I specify file path using '\' (which is usually used on Windows) LOAD_FILE() doesn't find the file, while it works using '/'. Create test.sql and issue:
|
| Comments |
| Comment by Vladislav Vaintroub [ 2013-01-30 ] |
|
In MySQL, backslash is used as mask character inside the string : http://dev.mysql.com/doc/refman/5.5/en/string-literals.html If you need a string with backslash, you'd need to duplicate it , e.g C: |