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

QSqlDatabase open the timeout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.9.9
    • SQL Support
    • Win11, VS2022, Qt Visual Studio Tools 2.8.1.6, Qt 5.9.9
    • Windows

    Description

      When using the SQlite3 database. QSqlDatabase::setDatabaseName  An invalid path was set, such as a network disk disconnection. This causes QSqlDatabase::open to block for 20 seconds,
      Even if you set "QSQLITE_BUSY_TIMEOUT=1000", it doesn't work.

      Attachments

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

        Activity

          People

            mabrand Mark Brand
            xwj 文杰 肖
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes