comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Status of GNADE ODBC under Debian 64-bit
Date: Mon, 3 Sep 2012 21:17:36 +0200
Date: 2012-09-03T21:17:36+02:00	[thread overview]
Message-ID: <fw8uijju18zy$.11cg80j2ky77j$.dlg@40tude.net> (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



             reply	other threads:[~2012-09-12  0:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 19:17 Dmitry A. Kazakov [this message]
2012-09-04  9:40 ` Status of GNADE ODBC under Debian 64-bit 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
replies disabled

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