Skip to content
Commit 42d6c38c authored by Konrad Rzepecki's avatar Konrad Rzepecki Committed by Daniel Vrátil
Browse files

Fix SQLite backend foreign key PRAGMAs

Summary:
SQLite backend contain "PRAGMA foreign_key_check=OFF/ON" which ins't correct SQLite syntax.  Author intention was probably disengage key checking. In SQLlite this can be achieved be temporary deffer key check.  Correct syntax is in this case "PRAGMA defer_foreign_keys=ON/OFF".  This partial resolves bug 402229.

CCBUG: 402229

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: lbeltrame, anthonyfieroni, kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D18781
parent 5099b3cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment