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

LP:792338 - Bogus result with SQL_BIG_RESULT

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Not a Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The following query returns a totally bogus result – the rows returned can not be found in the original table.

      CREATE TABLE t1 ( f1 int NOT NULL , PRIMARY KEY (f1)) ;
      INSERT IGNORE INTO t1 VALUES (10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20);
      SELECT SQL_BIG_RESULT f1 AS field1 , f1 AS field2
      FROM t1
      GROUP BY field1 , field2 ;

      correct result:

      SELECT f1 AS field1 , f1 AS field2
      FROM t1
      GROUP BY field1 , field2 ;

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            philipstoev Philip Stoev added a comment -

            Re: Bogus result with SQL_BIG_RESULT
            Sorry this is for bugs.mysql.com, the bug is also reproducible with mysql 55

            Show
            philipstoev Philip Stoev added a comment - Re: Bogus result with SQL_BIG_RESULT Sorry this is for bugs.mysql.com, the bug is also reproducible with mysql 55
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 792338

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 792338

              People

              • Assignee:
                Unassigned
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: