eda/sqlite: Set SQLITE_OMIT_AUTHORIZATION to work around bug in SQLite
- Code within for this authorization is causing random crashes on preparing the statement:
UPDATE Contacts SET ROWID = ? WHERE ROWID = ?
with a table:
CREATE TABLE Contacts(Id INTEGER PRIMARY KEY, n TEXT, o TEXT, c TEXT, s TEXT, p TEXT, e TEXT, a INTEGER);
This line:
rc = sqlite3AuthCheck(pParse, SQLITE_UPDATE, pTab->zName, pTab->aCol[j].zName, db->aDb[iDb].zName);
Is not within an 'else' of 'if( j>=pTab->nCol )'
ROWID is not properly handled here.