[Akonadi] [Bug 354536] Akonadi fails to migrate database from version 30 (foreign key constraint fails)

Daniel Vrátil via KDE Bugzilla bugzilla_noreply at kde.org
Fri Mar 11 00:10:45 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=354536

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/akon
                   |                            |adi/989f7eba0d1b093e00730a8
                   |                            |444a9c088a3805ffd
   Version Fixed In|                            |15.12.3

--- Comment #8 from Daniel Vrátil <dvratil at kde.org> ---
Git commit 989f7eba0d1b093e00730a8444a9c088a3805ffd by Daniel Vrátil, on behalf
of Lukáš Karas.
Committed on 11/03/2016 at 00:10.
Pushed by dvratil into branch 'Applications/15.12'.

Clean orphaned relations when upgrading DB schema to r31

Commit 54e1f097 introduced automatic recovery of missing foreign keys during
startup (this has been accompanied by DB schema upgrade to revision 31). If
they FKs were previously missing MySQL will fail to create the keys and Akonadi
startup will fail.

To make sure there are no inconsistencies in DB we manually delete all orphaned
relations before proceeding with the DB check.
FIXED-IN: 15.12.3

M  +60   -0    src/server/storage/dbupdate.xml

http://commits.kde.org/akonadi/989f7eba0d1b093e00730a8444a9c088a3805ffd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list