Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Fix Version/s: 10.1.2
    • Component/s: Prepared Statements
    • Labels:
      None

      Description

      Current — 10.1.1 — implementation of OUT parameters in PREPARE is as follows:

      PREPARE .... "SELECT ... INTO ?, ?, ...";
      EXECUTE .... USING @var1, @var2, ...
      

      It is non-standard. And it's not strictly necessary, as there are easy workarounds.

      Standard syntax is

      PREPARE .... "SELECT ... ";
      EXECUTE ... INTO @var1, @var2, ...
      

      The workaround is:

      PREPARE .... "SELECT ... INTO @var1, @var2, ...";
      EXECUTE ....
      

      We should consider changing the syntax to be standard or removing this feature completely.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            removed completely

            Show
            serg Sergei Golubchik added a comment - removed completely

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m