diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 22:59:51 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-17 22:59:51 +0000 |
commit | cd904cdd0a82ad3c7859b5bc4365202c320da81f (patch) | |
tree | 45fbd4e5fdb92cdd327dab1775d29ae7d3dc1d5a /sca-cpp/trunk/components/sqldb | |
parent | 3d79be04a42d86838a110d679de4004d5b98b789 (diff) |
Strawman implementation of post, put and delete on a tinycdb database, for now just a simplistic rewrite of the db per update.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935274 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/sqldb')
-rw-r--r-- | sca-cpp/trunk/components/sqldb/Makefile.am | 2 | ||||
-rw-r--r-- | sca-cpp/trunk/components/sqldb/client-test.cpp | 2 | ||||
-rw-r--r-- | sca-cpp/trunk/components/sqldb/pgsql.hpp | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/sqldb/Makefile.am b/sca-cpp/trunk/components/sqldb/Makefile.am index b7c8a4eeaf..d474dafb25 100644 --- a/sca-cpp/trunk/components/sqldb/Makefile.am +++ b/sca-cpp/trunk/components/sqldb/Makefile.am @@ -19,7 +19,7 @@ if WANT_SQLDB INCLUDES = -I${PGSQL_INCLUDE} -#comp_SCRIPTS = pgsql-start pgsql-stop +comp_SCRIPTS = pgsql-start pgsql-stop compdir=$(prefix)/components/sqldb comp_DATA = pgsql.prefix diff --git a/sca-cpp/trunk/components/sqldb/client-test.cpp b/sca-cpp/trunk/components/sqldb/client-test.cpp index 271ec08bed..7712d6427c 100644 --- a/sca-cpp/trunk/components/sqldb/client-test.cpp +++ b/sca-cpp/trunk/components/sqldb/client-test.cpp @@ -20,7 +20,7 @@ /* $Rev$ $Date$ */ /** - * Test SQLDB component. + * Test SQL database component. */ #include <assert.h> diff --git a/sca-cpp/trunk/components/sqldb/pgsql.hpp b/sca-cpp/trunk/components/sqldb/pgsql.hpp index 08e8a44123..25b55cc522 100644 --- a/sca-cpp/trunk/components/sqldb/pgsql.hpp +++ b/sca-cpp/trunk/components/sqldb/pgsql.hpp @@ -22,6 +22,10 @@ #ifndef tuscany_pgsql_hpp #define tuscany_pgsql_hpp +/** + * PostgreSQL access functions. + */ + #include <libpq-fe.h> #include "string.hpp" |