Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25933

Database::getViewCatalog should return const ViewCatalog&

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Fully Compatible
    • Storage 2016-12-12

    Description

      Database::getViewCatalog in database.h/cpp currently returns a ViewCatalog*. We should change to return const& instead as ViewCatalog will always exist for a given Database object.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: