2010-06-25 19:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* external/png/Makefile
    ! Fixed one MAP entry. Patch by Tamas Tevesz.

  * contrib/hbodbc/todbc.prg
    ! Attempt to fix sf.net bug #2984474.
      - TODBC class seems to have a typo where ROUND() is called with 
        full number width instead of number of decimals in 
         in TODBC():LoadData() method
      - Added SQL_BIGINT to list of numeric types when doing the 
        conversion in TODBC():LoadData() method.
    ; Please review me a test with real ODBC connection, these were 
      blind fixes, I'm not user of TODBC class.
This commit is contained in:
Viktor Szakats
2010-06-25 17:26:08 +00:00
parent c1ae7816e1
commit 69c1923007
3 changed files with 17 additions and 2 deletions

View File

@@ -16,6 +16,20 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-06-25 19:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/png/Makefile
! Fixed one MAP entry. Patch by Tamas Tevesz.
* contrib/hbodbc/todbc.prg
! Attempt to fix sf.net bug #2984474.
- TODBC class seems to have a typo where ROUND() is called with
full number width instead of number of decimals in
in TODBC():LoadData() method
- Added SQL_BIGINT to list of numeric types when doing the
conversion in TODBC():LoadData() method.
; Please review me a test with real ODBC connection, these were
blind fixes, I'm not user of TODBC class.
2010-06-25 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/achoice.prg
! ACHOICE(): Fixed two navigation bugs (misplacement and RTE)

View File

@@ -748,13 +748,14 @@ METHOD LoadData( nPos ) CLASS TODBC
CASE SQL_DOUBLE
CASE SQL_TINYINT
CASE SQL_SMALLINT
CASE SQL_BIGINT
CASE SQL_INTEGER
CASE SQL_FLOAT
CASE SQL_REAL
IF ISCHARACTER( uData )
uData := StrTran( uData, ",", "." )
uData := Round( Val( uData ), ::Fields[ i ]:DataSize )
uData := Round( Val( uData ), ::Fields[ i ]:DataDecs )
ENDIF
uData := SQLNumSetLen( uData, ::Fields[ i ]:DataSize, ::Fields[ i ]:DataDecs )
EXIT

View File

@@ -73,7 +73,7 @@ endif
# URL http://sourceforge.net/projects/libpng/files/01-libpng-master/1.4.2/lpng142.zip/download
# DIFF
#
# MAP LICENCE
# MAP LICENSE
# MAP png.c
# MAP pngconf.h
# MAP pngerror.c