Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59919

Extend QSqlDatabase destructor's description

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.9.0 Beta 2
    • Component/s: SQL Support
    • Labels:
      None
    • Commits:
      ecceaec8581886e5215ab10c8f5c702e315cb397

      Description

      The description of QSqlDatabase::~QSqlDatabase should be extended:

      Destroys the object and frees any allocated resources.

      It should also be mentioned that it implicitly calls close() to properly release the DB connection when the last connection alias is released. So the programmer has not to worry about that.

      I think this is important to mention.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              jefernan Jesus Fernandez
              Reporter:
              mdw Matthias Wallnoefer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes