|
|
Choosing A Webhost: |
CVS update of libmysequoia/src (Utils.cpp): msg#00172db.carob.cvs
Date: Wednesday, March 29, 2006 @ 13:08:42 Author: zsolt Path: /cvsroot/carob/libmysequoia/src Modified: Utils.cpp (1.37 -> 1.38) - corrected getFromFloat() trimming when decimals >= 31 -----------+ Utils.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: libmysequoia/src/Utils.cpp diff -u libmysequoia/src/Utils.cpp:1.37 libmysequoia/src/Utils.cpp:1.38 --- libmysequoia/src/Utils.cpp:1.37 Wed Mar 29 13:00:43 2006 +++ libmysequoia/src/Utils.cpp Wed Mar 29 13:08:42 2006 @@ -648,7 +648,7 @@ if (field->decimals >= 31) { len = sprintf((char *)bind->buffer, "%-*.*g", (int)bind->buffer_length, (int)min(14, FLT_DIG), f); - if (len > 0 && (unsigned)len < bind->buffer_length) + if (len > 0 && (unsigned)len <= bind->buffer_length) { char *c = strchr((char *)bind->buffer, ' '); *c = 0;
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of libmysequoia/src (CarobMySQL.cpp Utils.cpp), zsolt-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of odbsequoia/doc (INSTALL), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of libmysequoia/src (CarobMySQL.cpp Utils.cpp), zsolt-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob/src (BigDecimal.cpp), 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.
|