Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-875

Read packets directly from the read ahead cache when completely cached

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 3.4
    • None
    • None

    Description

      Every packet is read by ma_real_read() with two generic ma_pvio_cache_read() calls (header, then payload), even when the whole packet is already in the read ahead cache, which is the usual case for the rows of a result set.

      New ma_net_read_cached() handles that case in ma_net_read(): it decodes the header in place and copies the payload once. Packets that are not completely cached, multi packets and the compressed protocol use the existing code.

      Attachments

        Activity

          People

            georg Georg Richter
            diego dupin Diego Dupin
            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.