DPL: work around for build warnings with -Werror 64/23164/4
authorRafal Krypa <r.krypa@samsung.com>
Wed, 18 Jun 2014 14:05:25 +0000 (16:05 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 23 Jun 2014 18:03:48 +0000 (20:03 +0200)
commit68215983b9a6a588f5c16bef22f0882234d8a5d5
tree04ac0f6364934b087fcb3ac184add28d092d28c4
parent61c90ed1c4f8a63b323a9b471f27fb08c86aa570
DPL: work around for build warnings with -Werror

DPL::SqlConnection::ExecCommand() is marked as deprecated to warn it's users.
It's not deprecated, but could cause SQL Injection. This method is also
used internally for transactions.
Such combination causes build warnings. But this repository is built with
-Werror flags and it breaks the build.

Since this method is not needed outside SqlConnection, move it to private
methods and remove the warning.

Change-Id: I088f4736ecca318613b897ef05b12af4cdc1f664
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/server/dpl/db/include/dpl/db/sql_connection.h