comp.lang.ada
 help / color / mirror / Atom feed
* Status of GNADE ODBC under Debian 64-bit
@ 2012-09-03 19:17 Dmitry A. Kazakov
  2012-09-04  9:40 ` Graham Stark
  2012-09-07  9:51 ` Stephen Leake
  0 siblings, 2 replies; 11+ messages in thread
From: Dmitry A. Kazakov @ 2012-09-03 19:17 UTC (permalink / raw)


What is the status of the bug reported by Ludovic Brenta:

https://sourceforge.net/tracker/?func=detail&aid=1591916&group_id=23045&atid=377331

I am asking because it seems there that the latest version of libgnadeodbc2
has the issue not resolved. In particular gnu-db-sqcli.adb has GetData
declared as:

      function GetData (StatementHandle : in SQLHSTMT;
                        ColumnNumber    : in SQL_Column_Number;
                        TargetType      : in SQL_C_DATA_TYPE;
                        TargetValue     : in SQLPOINTER;
                        BufferLength    : in SQLINTEGER;
                        StrLen_Or_Ind   : access SQLINTEGER)
                        return SQLRETURN;

This is wrong and causes programs using GNADE ODBC crash.

BufferLength must have been SQLLEN. StrLen_Or_Ind must have been access
SQLLEN. The type SQLLEN is 64-bit under Debian 64-bit (32-bit under Debian
32-bit).

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-09-14 17:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-03 19:17 Status of GNADE ODBC under Debian 64-bit Dmitry A. Kazakov
2012-09-04  9:40 ` Graham Stark
2012-09-04 11:54   ` Dmitry A. Kazakov
2012-09-07  9:51 ` Stephen Leake
2012-09-07 10:57   ` Ludovic Brenta
2012-09-07 11:25     ` Graham Stark
2012-09-07 12:10       ` Dmitry A. Kazakov
2012-09-08 19:17     ` Stephen Leake
2012-09-10 18:10       ` Graham Stark
2012-09-07 11:56   ` Dmitry A. Kazakov
2012-09-07 16:06   ` Georg Bauhaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox