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

Insert queries using CURDATE in query cache

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I'm not sure, if the entries in the query cache have an expiry time, if so, queries using CURDATE/CURRENT_DATE/... could also be inserted in the cache an last there up to 24 hours.
      If you have many queries in the form
      select ... WHERE `date` between (CURRENT_DATE - INTERVAL 1 WEEK) AND CURRENT_DATE()
      the cache is not used.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                mokraemer Marc
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: