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

--- Comment #1 from Christian David <christian-da...@web.de> ---
Git commit d30be72a46be9450a0f205d7c615b96f34a8bf0a by Christian Dávid.
Committed on 10/01/2015 at 16:20.
Pushed by christiand into branch 'master'.

Database version is set after creating tables

So the upgrade routine is not executed starting from version 0 - which
is useless as the database should be the most recent version anyway.

Also removed the version param from createTables(int version). It was
not used and was totaly useless as createTables() calls upgradeDb().

This is also a workaround for bug 341304 as the upgradeToV1() won't be
called after creation of tables anymore. The bug persists if the user
has a version 0 database.
REVIEW: 121288

M  +1    -1    kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
M  +16   -8    kmymoney/mymoney/storage/mymoneystoragesql.cpp
M  +1    -1    kmymoney/mymoney/storage/mymoneystoragesql.h

http://commits.kde.org/kmymoney/d30be72a46be9450a0f205d7c615b96f34a8bf0a

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to