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

main.create_notembedded fails on macOS with errno 63 for a file name that is too long

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • 13.2
    • 13.2
    • Tests, MTR
    • None
    • macOS Tahoe 26
    • Not for Release Notes
    • Q4/2026 Server Development

    Description

      On macOS, main.create_notembedded fails on its first CREATE TABLE:

      main.create_notembedded                  [ fail ]
      @@ -6,7 +6,7 @@
      -ERROR HY000: Can't create table `test`.`❎❎❎…❎` (errno: 36 "File name too long")
      +ERROR HY000: Can't create table `test`.`❎❎❎…❎` (errno: 63 "File name too long")
      

      The statement creates a table whose name is 51 copies of ❎. On disk each character becomes @274e, so the file name is 255 bytes, and the test expects the operating system's ENAMETOOLONG in the error. The .result expects 36, the Linux value. macOS defines ENAMETOOLONG as 63 in sys/errno.h of the macOS SDK.

      Attachments

        Activity

          People

            Gosselin Dave Gosselin
            Gosselin Dave Gosselin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 7h 26m
                7h 26m
                Remaining:
                Time Spent - 0.5h Remaining Estimate - 6h 56m
                6h 56m
                Logged:
                Time Spent - 0.5h Remaining Estimate - 6h 56m
                0.5h

                Git Integration

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