Change mechanism of setting db version 21/144521/4
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 17 Aug 2017 05:44:02 +0000 (14:44 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 21 Aug 2017 01:57:22 +0000 (01:57 +0000)
commitd59e4c2fe6fc204a534070a81c1a39880364cda1
tree1bbff83ab2bc62f431072179b5283dcc2e70dac2
parentb8cdf990760da16d3c70dddbdbe0959aa951fd19
Change mechanism of setting db version

- Previously, DB version was defined at codes so
  scripts such as upgrade scripts cannot retrieve it for upgrade.
- So, create new file which stores db version and read it at runtime
  to let codes and script read it properly.

Change-Id: I3f643f421228026c38c8507c0af25928144a2ee7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
CMakeLists.txt
packaging/pkgmgr-info.spec
parser/src/pkgmgr_parser_db.c
parser/src/pkgmgr_parser_db_queries.h
pkg_db_version.txt.in [new file with mode: 0644]