Details

      Description

      All CREATE SERVER clauses are optional. Default values are:

      • HOST: ''
      • PORT: 0
      • SOCKET: ''

      To have a usable server, we must define:
      (host AND port) OR socket

      No storage engine returns a clear error when trying to connect to an unusable server. And with SPIDER, bad things happen.

      Could MariaDB return an error/warning/note, when not enough data or too many data are provided?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            I'd expect that PORT can take a default value (3306 for "mysql" wrapper), so only HOST or SOCKET must be required. Unless there are reasonable defaults for them too, but I cannot imagine what could they be.

            Show
            serg Sergei Golubchik added a comment - I'd expect that PORT can take a default value (3306 for "mysql" wrapper), so only HOST or SOCKET must be required. Unless there are reasonable defaults for them too, but I cannot imagine what could they be.
            Hide
            serg Sergei Golubchik added a comment -

            I'll do it in 10.1, it breaks few tests in 10.0 and might break existing applications too

            Show
            serg Sergei Golubchik added a comment - I'll do it in 10.1, it breaks few tests in 10.0 and might break existing applications too

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                f_razzoli Federico Razzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: