SQLColumns (MySQL 4.0.12)

------=_NextPart_000_0005_01C31C61.F47416C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I have used SQLColumns for previous versions of MySQL like for example =
3.23.56.

However when I upgraded to 4.0.12 the SQLColumns does not work as =
before.

I can receive a complete table with all columns, but I can no longer get =
a single column name.



Works:

SQLColumns(hstmt, NULL, 0, NULL, 0, (uchar*)"person", SQL_NTS, NULL, 0);

No longer works:

SQLColumns(hstmt, NULL, 0, NULL, 0, (uchar*)"person", SQL_NTS, =
(uchar*)"id", SQL_NTS);


The result I get is an empty result set (NO_DATA)

Im using Windows XP, MyODBC v3.51, C++

Regards,


Ludvig Pedersen

------=_NextPart_000_0005_01C31C61.F47416C0--
Ludvig Pedersen [ Sa, 17 Mai 2003 10:49 ] [ ID #67806 ]
Datenbanken » gmane.comp.db.mysql.bugs » SQLColumns (MySQL 4.0.12)

Vorheriges Thema: p_thread issue with Linux 2.4.20 SMP kernel
Nächstes Thema: Optimizing error with IN clause?