You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ad...@apache.org on 2007/07/17 00:33:01 UTC

svn commit: r556758 - in /incubator/tuscany/cpp/das: VSExpress/tuscany_das/tuscany_das.suo runtime/core/src/apache/das/rdb/ResultSet.cpp runtime/test/rsc/TestCases.fdb runtime/test/src/main.cpp

Author: adrianocrestani
Date: Mon Jul 16 15:33:00 2007
New Revision: 556758

URL: http://svn.apache.org/viewvc?view=rev&rev=556758
Log:
- code wasn't compiling: fixed

Modified:
    incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo
    incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSet.cpp
    incubator/tuscany/cpp/das/runtime/test/rsc/TestCases.fdb
    incubator/tuscany/cpp/das/runtime/test/src/main.cpp

Modified: incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/VSExpress/tuscany_das/tuscany_das.suo?view=diff&rev=556758&r1=556757&r2=556758
==============================================================================
Binary files - no diff available.

Modified: incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSet.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSet.cpp?view=diff&rev=556758&r1=556757&r2=556758
==============================================================================
--- incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSet.cpp (original)
+++ incubator/tuscany/cpp/das/runtime/core/src/apache/das/rdb/ResultSet.cpp Mon Jul 16 15:33:00 2007
@@ -96,7 +96,6 @@
 	if (metaData->getSQLType(columnIndex) == SQL_REAL) {
 		SQLFLOAT real = 0;
 		SQLINTEGER length = 0;
-		SQL_INTEGER
 		SQLRETURN result = SQLGetData(stmt->getODBCStatement(), columnIndex + 1, SQL_C_FLOAT, &real, 1, &length);
 		
 		if ((result != SQL_SUCCESS) && (result != SQL_SUCCESS_WITH_INFO))

Modified: incubator/tuscany/cpp/das/runtime/test/rsc/TestCases.fdb
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/test/rsc/TestCases.fdb?view=diff&rev=556758&r1=556757&r2=556758
==============================================================================
Binary files - no diff available.

Modified: incubator/tuscany/cpp/das/runtime/test/src/main.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/das/runtime/test/src/main.cpp?view=diff&rev=556758&r1=556757&r2=556758
==============================================================================
--- incubator/tuscany/cpp/das/runtime/test/src/main.cpp (original)
+++ incubator/tuscany/cpp/das/runtime/test/src/main.cpp Mon Jul 16 15:33:00 2007
@@ -387,17 +387,6 @@
 }
 
 int main() {
-	Connection& conn = *getConnection();
-
-	StatementPtr stmt = conn.createStatement();
-	ResultSetPtr rs = stmt->executeQuery("select * from test");
-	
-	while (rs->next()) {
-		std::string decimal = rs->getSQLDecimal(0);
-		cout << "Decimal = " + decimal << std::endl;
-
-	}
-
 	testPointers();
 	testUniqueObjectByID();
 	testIncompleteCompositeRelationship();



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org