Details

    Description

      When running with the default sql_mode, MariaDB does not support qualifiers in stored function parameters. Qualifiers are only supported in stored procedure parameters.

      When running with sql_mode=ORACLE, MariaDB should support IN, OUT, INOUT parameter qualifiers in CREATE FUNCTION, for Oracle compatibility.

      Attachments

        Issue Links

          Activity

            ManoharKB Manohar KB added a comment - - edited

            Thank you.

            I have added test cases to and pushed the changes.
            1. mysql-test/suite/compat/oracle/t/func_inout.test
            2. mysql-test/suite/compat/oracle/r/func_inout.result

            As the ticket description says, this fix only supports when sql_mode='ORACLE';

            ManoharKB Manohar KB added a comment - - edited Thank you. I have added test cases to and pushed the changes. 1. mysql-test/suite/compat/oracle/t/func_inout.test 2. mysql-test/suite/compat/oracle/r/func_inout.result As the ticket description says, this fix only supports when sql_mode='ORACLE';

            pushed into preview-10.8-MDEV-10654-inout branch

            serg Sergei Golubchik added a comment - pushed into preview-10.8- MDEV-10654 -inout branch
            danblack Daniel Black added a comment - - edited

            Preview notice: https://mariadb.org/?p=24584&preview=1&_ppp=08ff268aca

            ManoharKB anything to add/change? If you want to credit an employer please let net me know.

            danblack Daniel Black added a comment - - edited Preview notice: https://mariadb.org/?p=24584&preview=1&_ppp=08ff268aca ManoharKB anything to add/change? If you want to credit an employer please let net me know.
            Roel Roel Van de Paar added a comment - - edited

            Both myself and ramesh tested this feature and no major issues were observed. Please note this comment however (this could be made clear in the manual).

            OK to push and with thanks to the implementer for the two high quality MTR testcases.

            Roel Roel Van de Paar added a comment - - edited Both myself and ramesh tested this feature and no major issues were observed. Please note this comment however (this could be made clear in the manual). OK to push and with thanks to the implementer for the two high quality MTR testcases.

            Logged MDEV-27574 MDEV-10654 (IN, OUT, INOUT parameters) documentation items

            Roel Roel Van de Paar added a comment - Logged MDEV-27574 MDEV-10654 (IN, OUT, INOUT parameters) documentation items

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              3 Vote for this issue
              Watchers:
              11 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.