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

Request: Variable number of arguments in Stored Routines

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Some Stored Routines would be more powerful/usable if we are able to declare a variable number of arguments. Two special functions may return the number of passed args, and the value of a given arg.
      As an alternative, you could implement optional parameters with a DEFAULT value, but this is less powerful.
      I think that this is only relevant for IN parameters, not OUT/INOUT.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              f_razzoli Federico Razzoli
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: