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

Extend QSqlDatabase destructor's description

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.9.0 Beta 2
    • 5.6.0
    • SQL Support
    • None
    • 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

            jefernan Jesus Fernandez
            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