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

          Kentoku, please review my fix for this problem in commit eb2ca3d on my branch.

          jacob-mathew Jacob Mathew (Inactive) added a comment - Kentoku, please review my fix for this problem in commit eb2ca3d on my branch .

          It's OK to push.

          Kentoku Kentoku Shiba (Inactive) added a comment - It's OK to push.

          Fix is pushed to 10.1 and 10.2. Comments and test case are merged to 10.3 and 10.4.

          jacob-mathew Jacob Mathew (Inactive) added a comment - Fix is pushed to 10.1 and 10.2. Comments and test case are merged to 10.3 and 10.4.

          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.