out length err with SQL_TINYINT

From: "Han" <zhouhanok(at)vip(dot)sina(dot)com>
To: pgsql-odbc(at)postgresql(dot)org <pgsql-odbc(at)postgresql(dot)org>
Subject: out length err with SQL_TINYINT
Date: 2002-11-29 03:13:17
Message-ID: 20021129031247.E4A2B476199@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

pgsql-odbc

When retrive SQL_TINYINT columns from table using SQL_C_DEFAULT, the out length(the last argument of SQLBindCol) is incorrect. For example, the value retrived is 0(it's correct), but the length returned is 2 -- and in fact it's 1.
Regards,
        

        Han
        zhouhanok(at)vip(dot)sina(dot)com
          2002-11-29

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2002-11-29 08:23:25 Re: ODBC changes
Previous Message Han 2002-11-29 02:57:08 Re: Problem about Bytea and SQL_C_CHAR