Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4116

LOAD_FILE() does not understand paths with '\'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 10.0.0, 5.5.28a, 5.3.11, 5.2.13, 5.1.66
    • None
    • None
    • None
    • 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:

       
      SELECT LOAD_FILE('c:\test.sql'), LOAD_FILE('c:/test.sql');

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.