Details

    Description

      Create an ORACLE PACKAGE "DBMS_OUTPUT" that contains the PUT_LINE stored
      procedure.
      The procedure should take one string argument that should be shown to the users using the command line client (when he has warnings enabled).

      We could reuse some of the code for SIGNAL for this task.

      Suggested solution:

      In addition to implementing the DBMS_OUTPUT.put_line() stored procedure, we also have to implement the functionality for users to generate messages he can view in the command line client.

      This is apparently something that some developers uses' everywhere' and we should try to keep the syntax simple. Signal can do part of this, but the syntax is a bit to complex for something that is used over and over again.

      [MSG|MESSAGE ] "hello";

      This should generate a warning of level 'message' and code 0.

      The user would get this in the output in the mariadb client by enable 'warnings', which print out all warnings at the end of each statement.
      We could potentially also implement 'show messages' to just show messages.
      If we do that, we could add an option to 'mariadb' client to print messages at end of a query.

      Attachments

        Issue Links

          Activity

            monty Michael Widenius created issue -
            monty Michael Widenius made changes -
            Field Original Value New Value
            monty Michael Widenius made changes -
            monty Michael Widenius made changes -
            Description Create an ORACLE PACKAGE "DBMS_OUTPUT" that contains the PUT_LINE stored
            procedure.
            The procedure should take one string argument that should be shown to the users using the command line client (when he has warnings enabled).

            We could reuse some of the code for SIGNAL for this task

            Suggested solution:

            This is apparently something that some developers uses' everywhere' and we should try to keep the syntax simple. Signal can do part of this, but the syntax is a bit to complex for something that is used over and over again.

            [MSG|MESSAGE ] "hello";

            This should generate a warning of level 'message' and code 0.

            The user would get this in the output in the mariadbdclient by enable 'warnings', which print out all warnings at the end of each statement.
            We could potentially also implement 'show messages' to just show messages.
            If we do that, we could add an option to 'mariadb' client to print messages at end of a query.




            Create an ORACLE PACKAGE "DBMS_OUTPUT" that contains the PUT_LINE stored
            procedure.
            The procedure should take one string argument that should be shown to the users using the command line client (when he has warnings enabled).

            We could reuse some of the code for SIGNAL for this task.

            Suggested solution:

            In addition to implementing the DBMS_OUTPUT.put_line() stored procedure, we also have to implement the functionality for users to generate messages he can view in the command line client.

            This is apparently something that some developers uses' everywhere' and we should try to keep the syntax simple. Signal can do part of this, but the syntax is a bit to complex for something that is used over and over again.

            [MSG|MESSAGE ] "hello";

            This should generate a warning of level 'message' and code 0.

            The user would get this in the output in the mariadb client by enable 'warnings', which print out all warnings at the end of each statement.
            We could potentially also implement 'show messages' to just show messages.
            If we do that, we could add an option to 'mariadb' client to print messages at end of a query.




            serg Sergei Golubchik made changes -
            Summary  Procedure DBMS_OUTPUT.PUT_LINE Procedure DBMS_OUTPUT.PUT_LINE
            ralf.gebhardt Ralf Gebhardt made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            bar Alexander Barkov made changes -
            Issue Type Task [ 3 ] New Feature [ 2 ]
            bar Alexander Barkov made changes -
            Labels Compatibility Compatibility Oracle
            ralf.gebhardt Ralf Gebhardt made changes -
            Parent MDEV-35973 [ 132608 ]
            Issue Type New Feature [ 2 ] Technical task [ 7 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            julien.fritsch Julien Fritsch made changes -
            Parent MDEV-35973 [ 132608 ]
            Issue Type Technical task [ 7 ] New Feature [ 2 ]
            adamluciano Adam Luciano made changes -
            Fix Version/s 12.1 [ 29992 ]
            Fix Version/s 12.0 [ 29945 ]
            julien.fritsch Julien Fritsch made changes -
            Assignee Alexander Barkov [ bar ]
            julien.fritsch Julien Fritsch made changes -
            Component/s N/A [ 14411 ]
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 12.1 [ 29992 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            julien.fritsch Julien Fritsch made changes -
            julien.fritsch Julien Fritsch made changes -

            People

              bar Alexander Barkov
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.