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

SQL prepare bindValue(int) exec in a loop allocates too much memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 4.8.5, 5.0.2, 5.1.0
    • SQL Support
    • None
    • all
    • 8bdf319c28ae7844f8cdbf0af26c8bfc78ea50cc

    Description

      Please check the attached code for an example. prepare bindValue(int) and exec is called in a loop it allocates more and more memory without a reason.

      Attachments

        1. qt_leak_test.pro
          0.3 kB
        2. main.cpp
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            karimpinter Karim Pinter (Inactive)
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes