There is bug



  • Hardware Model: iPad4,4

    Exception Type: 00000020
    Exception Codes: 0x00000000dead10cc
    Highlighted Thread: 0

    Application Specific Information:
    <FBApplicationProcess: 0x12def3ad0; *** pid: 484> was suspended with locked system files:
    /private/var/mobile/Containers/Bundle/Application/282FCA82-FFE9-42AC-8E4F-9D7D02A3FDE7/My.app/.../Data.sqlite

    this is fix

    diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp
    index 06e849c..57b3cc9 100644
    --- a/src/sql/drivers/sqlite/qsql_sqlite.cpp
    +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp
    @@ -617,7 +617,7 @@ bool QSQLiteDriver::open(const QString & db, const QString &, const QString &, c

     sqlite3_enable_shared_cache(sharedCache);
    
    • if (sqlite3_open_v2(db.toUtf8().constData(), &d->access, openMode, NULL) == SQLITE_OK) {
    • if (sqlite3_open_v2(db.toUtf8().constData(), &d->access, openMode, "unix-none") == SQLITE_OK) {
      sqlite3_busy_timeout(d->access, timeOut);
      setOpen(true);
      setOpenError(false);

    who can fix with?


  • Moderators

    Hi @Ridat, thank you for finding a fix to the bug.

    Please post this to https://bugreports.qt.io/


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.