Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-27777

No need to prepare a statement if it is already in the cache

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 5.5.0
    • query

    Description

      Since we will be sharing anonymous statements among sessions, we don't want to prepare the same statement over and over again.
      PREPARE will work thusly:

      • if the prepared statement does no exist, prepare
      • if it does, verify. Only prepare if the statement cannot be executed
      • if the FORCE keyword is used, prepare all the same.

      Attachments

        For Gerrit Dashboard: MB-27777
        # Subject Branch Project Status CR V

        Activity

          People

            mihir.kamdar Mihir Kamdar (Inactive)
            marco.greco Marco Greco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty