summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/sqldb/pgsql.hpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-19 06:26:26 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-19 06:26:26 +0000
commit9494282e751d485d79e93ad0a37bd5d4f26011a7 (patch)
tree3ee5e8f37c5184fd260314e4fba9348818aa5ce2 /sca-cpp/trunk/components/sqldb/pgsql.hpp
parent400b52e0955b569ab6a3d551570b8aaf369358d5 (diff)
Add a tinycdb-based nosql SCA component and integrate with server. Add a version of the store test that works with the nosql component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/sqldb/pgsql.hpp')
-rw-r--r--sca-cpp/trunk/components/sqldb/pgsql.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-cpp/trunk/components/sqldb/pgsql.hpp b/sca-cpp/trunk/components/sqldb/pgsql.hpp
index 25b55cc522..bb37d125b8 100644
--- a/sca-cpp/trunk/components/sqldb/pgsql.hpp
+++ b/sca-cpp/trunk/components/sqldb/pgsql.hpp
@@ -138,6 +138,7 @@ private:
const failable<bool> post(const value& key, const value& val, const PGSql& pgsql) {
debug(key, "pgsql::post::key");
debug(val, "pgsql::post::value");
+ debug(pgsql.conninfo, "pgsql::post::conninfo");
debug(pgsql.table, "pgsql::post::table");
const string ks(scheme::writeValue(key));
@@ -158,6 +159,7 @@ const failable<bool> post(const value& key, const value& val, const PGSql& pgsql
const failable<bool> put(const value& key, const value& val, const PGSql& pgsql) {
debug(key, "pgsql::put::key");
debug(val, "pgsql::put::value");
+ debug(pgsql.conninfo, "pgsql::put::conninfo");
debug(pgsql.table, "pgsql::put::table");
const string ks(scheme::writeValue(key));
@@ -188,6 +190,7 @@ const failable<bool> put(const value& key, const value& val, const PGSql& pgsql)
*/
const failable<value> get(const value& key, const PGSql& pgsql) {
debug(key, "pgsql::get::key");
+ debug(pgsql.conninfo, "pgsql::get::conninfo");
debug(pgsql.table, "pgsql::get::table");
const string ks(scheme::writeValue(key));
@@ -212,6 +215,7 @@ const failable<value> get(const value& key, const PGSql& pgsql) {
*/
const failable<bool> del(const value& key, const PGSql& pgsql) {
debug(key, "pgsql::delete::key");
+ debug(pgsql.conninfo, "pgsql::delete::conninfo");
debug(pgsql.table, "pgsql::delete::table");
const string ks(scheme::writeValue(key));