Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-362

Disable the shared prepared-statement cache by default

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 2.0.0-rc3
    • None
    • None

    Description

      Flip the cache_prep_stmts default from True to False so the shared, connection-level prepared-statement cache (reused across all cursors) is now opt-in.
      By default each cursor keeps a single prepared statement, reused while the SQL is unchanged: simpler, predictable, no cross-cursor sharing. Pass cache_prep_stmts=True to restore the shared cache.

      Applies to all impls: pure-Python and C connections.

      Attachments

        Activity

          People

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