Changeset 016bb96 in tol
- Timestamp:
- Nov 19, 2008, 8:54:24 AM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 24c9ec0
- Parents:
- 72b77ba
- File:
-
- 1 edited
-
tol/stdlib/data/db/engine/_sqlpos.tol (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/data/db/engine/_sqlpos.tol
r72b77ba r016bb96 50 50 Text SqlPosFormatReal(Real rea) 51 51 ////////////////////////////////////////////////////////////////////////////// 52 { 52 { //Hay que realizar un casting porque si no toma el nulo como cadena 53 53 Real isUnk = IsUnknown(rea); 54 54 Real isInf = IsInfinite(rea); 55 If(Or(isUnk, isInf), " null",55 If(Or(isUnk, isInf), "NULL::float8", 56 56 FormatReal(rea,SqlPosFormatRealTol2Sql)) 57 57 }; … … 65 65 Text SqlPosFormatInteger(Real rea) 66 66 ////////////////////////////////////////////////////////////////////////////// 67 { 67 {//Hay que realizar un casting porque si no toma el nulo como cadena 68 68 Real isUnk = IsUnknown(rea); 69 69 Real isInf = IsInfinite(rea); 70 If(Or(isUnk, isInf), " null", IntText(rea))70 If(Or(isUnk, isInf), "NULL::int", IntText(rea)) 71 71 }; 72 72 //////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.
