[Kmymoney-devel] [kmymoney4] [Bug 341304] upgrade database to version 1 does not work with sqlite
christian-david at web.de
Sat Jan 10 16:41:58 UTC 2015
--- Comment #1 from Christian David <christian-david at 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.
M +1 -1 kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
M +16 -8 kmymoney/mymoney/storage/mymoneystoragesql.cpp
M +1 -1 kmymoney/mymoney/storage/mymoneystoragesql.h
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel