|
|
Choosing A Webhost: |
CVS update of carob/test/40-Parameter-PreparedStatement (1 file): msg#00134db.carob.cvs
Date: Thursday, March 23, 2006 @ 15:30:36 Author: gilles Path: /cvsroot/carob/carob/test/40-Parameter-PreparedStatement Modified: TestParameterStatement.cpp (1.10 -> 1.11) Reduced allocated BigDecimal array, added warning for one that wants to add a test value ----------------------------+ TestParameterStatement.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: carob/test/40-Parameter-PreparedStatement/TestParameterStatement.cpp diff -u carob/test/40-Parameter-PreparedStatement/TestParameterStatement.cpp:1.10 carob/test/40-Parameter-PreparedStatement/TestParameterStatement.cpp:1.11 --- carob/test/40-Parameter-PreparedStatement/TestParameterStatement.cpp:1.10 Wed Mar 22 19:24:41 2006 +++ carob/test/40-Parameter-PreparedStatement/TestParameterStatement.cpp Thu Mar 23 15:30:36 2006 @@ -282,7 +282,7 @@ ParameterStatement* pstmt = connectionPtr-> createParameterStatement(wstring(L"INSERT into ") + TABLE_NAME + L" values (?)"); - BigDecimal testVals[50]; + BigDecimal testVals[15]; int nbTestVals = 0; testVals[nbTestVals++] = BigDecimal(L"-123,456"); testVals[nbTestVals++] = BigDecimal(L"123,456"); @@ -298,6 +298,7 @@ testVals[nbTestVals++] = BigDecimal(numeric_limits<long>::max()); testVals[nbTestVals++] = BigDecimal(numeric_limits<long long>::min()); testVals[nbTestVals++] = BigDecimal(numeric_limits<long long>::max()); + //TODO change testVals array size when adding new values for (int i=0; i<nbTestVals; i++) {
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/include (Connection.hpp TypeConstants.hpp), zsolt-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob (include/Common.hpp src/Common.cpp), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/include (Connection.hpp TypeConstants.hpp), zsolt-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob (15 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|