3.51.11 fields reported 3x too wide

Running mysql-4.1.7 on a Linux server, and myodbc-3.51.11 on Win2k client.

On the server I have a field declared as VARCHAR(16). The character set is
utf8. Using Corel Paradox 10, querying the field structure of the table, it
reports A48. I tried tracing this on the client but don't see this value in
the log. Tracing with 3.51.10 showed this sequence:

pdxwin32 6d0-3ec ENTER SQLDescribeCol
HSTMT 04793028
UWORD 1
UCHAR * 0x02BA029E
SWORD 32
SWORD * 0x0012E732
SWORD * 0x0012E6EA
SQLULEN * 0x0012E6E4
SWORD * 0x02BA02C4
SWORD * 0x0012E730

pdxwin32 6d0-3ec EXIT SQLDescribeCol with return code 0
(SQL_SUCCESS)
HSTMT 04793028
UWORD 1
UCHAR * 0x02BA029E [ 9] "JO_NUMBER"
SWORD 32
SWORD * 0x0012E732 (9)
SWORD * 0x0012E6EA (12)
SQLULEN * 0x0012E6E4 (48)
SWORD * 0x02BA02C4 (0)
SWORD * 0x0012E730 (0)

Why does this combination think that the field is 48 characters wide
instead of 16? Where's the 3x factor getting introduced?

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
Kenneth Porter [ Fr, 11 Februar 2005 07:39 ] [ ID #638069 ]
Datenbanken » gmane.comp.db.mysql.odbc » 3.51.11 fields reported 3x too wide

Vorheriges Thema: MyODBC 3.51.11 released
Nächstes Thema: table handler error