close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 8 years ago

Closed 8 years ago

#1930 closed defect (fixed)

Fallo en DBTable con TOL-GNU

Reported by: Pedro Gea Owned by: Pedro Gea
Priority: high Milestone: Mantainance
Component: Kernel Version: 3.3
Severity: blocker Keywords:
Cc:

Description

Se encuentran problemas con algunos tipos de datos al obtener información de una base de datos vía ODBC, con postgreSQL al menos.

Por ejemplo:

Set DBTable("
  SELECT 2::numeric
")

devuelve un cero.

Change History (3)

comment:1 Changed 8 years ago by Pedro Gea

Owner: changed from Víctor de Buen Remiro to Pedro Gea
Status: newaccepted

Se trata de un problema con el compilador GCC en Windows y el tamaño del tipo long double junto al uso de la función sscanf.

comment:2 Changed 8 years ago by Pedro Gea

(In [7320]) Refs #1930
Se usa un double en lugar del long double.

comment:3 Changed 8 years ago by Pedro Gea

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.