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

Prepare statement with type CURSOR_TYPE_READ_ONLY adds a lot of zero at the end of real numbers

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4(EOL), 10.5, 10.6, 10.9(EOL), 10.10(EOL), 11.0(EOL), 11.1(EOL)
    • 10.5, 10.6
    • None
    • None

    Description

      When executing a MTR case:

      set @arg= 1.1;
      select @arg;
      

      with cursor protocol ("--cursor-protocol"), an incorrect result is produced (a lot of zero at the end):

      @arg
      1.10000000000000000000000000000000000000
      

      By default or with "--ps-portocol" it gives correct result:

      @arg
      1.1
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.