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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.5, 5.0.2, 5.1.0
    • Fix Version/s: 5.2.0
    • Component/s: SQL Support
    • Labels:
      None
    • Environment:
      all
    • Commits:
      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. main.cpp
          8 kB
        2. qt_leak_test.pro
          0.3 kB
        For Gerrit Dashboard: QTBUG-33169
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            karimpinter Karim Pinter
            Reporter:
            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