Check PDM Initialization before excuting exposed PDM APIs
authorWoochul Shim <woochul.shim@samsung.com>
Wed, 9 Sep 2015 13:20:04 +0000 (22:20 +0900)
committerSachin Agrawal <sachin.agrawal@intel.com>
Fri, 11 Sep 2015 06:00:13 +0000 (06:00 +0000)
commite4e633206940f01faaf87dbc4acfebf1ab66136a
treeb477d6c1f24f54a3b3d8f3ebccca8994729ca5ca
parentf0c7face801ca0fa39dfd5e2d5d71651e2def144
Check PDM Initialization before excuting exposed PDM APIs
- There is a case that user might call PDM API without initialization.
  This patch could prevent this case by checking initialized status of sqlite DB.

[Patch  #2] Removing Tab

Change-Id: Iaa9aa0f8f04fa8e69ab79c90fb5fc6ee6bbfd3b3
Signed-off-by: Woochul Shim <woochul.shim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2424
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashwini Kumar <k.ashwini@samsung.com>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/security/provisioning/src/provisioningdatabasemanager.c
resource/csdk/security/provisioning/unittest/provisioningdatabasemanager.cpp
resource/csdk/stack/include/octypes.h
resource/include/StringConstants.h
resource/src/OCException.cpp
resource/unittests/OCExceptionTest.cpp