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

Spider Order By column[datatime] limit 5 returns 3 rows

Details

    Description

      when quering with innodb table:
      SELECT *
      FROM phms_family
      WHERE region_code LIKE "%510411106%"
      AND region = 510411
      AND delete_status != 1
      ORDER BY update_date LIMIT 5 OFFSET 1
      return 5 rows;
      but spider table ,return 3 rows;
      update_date is a datatime column, with null field.

      Attachments

        Activity

          LIFMaDBRp LostInForest created issue -
          LIFMaDBRp LostInForest made changes -
          Field Original Value New Value
          Description when use innodb table query:
              SELECT *
                 FROM phms_family
              WHERE region_code LIKE "%510411106%"
                    AND region = 510411
                    AND delete_status != 1
               ORDER BY update_date LIMIT 5 OFFSET 1
          return 5 rows;
          but use spider table query ,return 3 rows;
          update_date is a datatime column, with null field.
          when quering with innodb table:
              SELECT *
                 FROM phms_family
              WHERE region_code LIKE "%510411106%"
                    AND region = 510411
                    AND delete_status != 1
               ORDER BY update_date LIMIT 5 OFFSET 1
          return 5 rows;
          but spider table ,return 3 rows;
          update_date is a datatime column, with null field.
          elenst Elena Stepanova made changes -
          Fix Version/s 10.1 [ 16100 ]
          Fix Version/s 10.2 [ 14601 ]
          Assignee Jacob Mathew [ jacob-mathew ]
          LIFMaDBRp LostInForest made changes -
          Attachment phms_family_spider_dll.sql [ 46013 ]
          jacob-mathew Jacob Mathew (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jacob-mathew Jacob Mathew (Inactive) made changes -
          Assignee Jacob Mathew [ jacob-mathew ] Kentoku [ kentoku ]
          Status In Progress [ 3 ] In Review [ 10002 ]
          Kentoku Kentoku Shiba (Inactive) made changes -
          Assignee Kentoku [ kentoku ] Jacob Mathew [ jacob-mathew ]
          Status In Review [ 10002 ] Stalled [ 10000 ]
          jacob-mathew Jacob Mathew (Inactive) made changes -
          Status Stalled [ 10000 ] In Progress [ 3 ]
          jacob-mathew Jacob Mathew (Inactive) made changes -
          Fix Version/s 10.2.18 [ 23112 ]
          Fix Version/s 10.1.37 [ 23204 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 88780 ] MariaDB v4 [ 154759 ]

          People

            jacob-mathew Jacob Mathew (Inactive)
            LIFMaDBRp LostInForest
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.