martin | 7 Feb 2003 16:10
Favicon

Re: - Problems with SQLPutData and MySQL on DEC Tru64 (v. 4 and 5)


On 07-Feb-2003 Peter van Heusden wrote:
> On Fri, Feb 07, 2003 at 03:01:05PM -0000, martin <at> easysoft.com wrote:
>> 
>> On 07-Feb-2003 Peter van Heusden wrote:
>> > Hi
>> > 
>> > I'm using UnixODBC 2.2.4 (running under OTL) to access a MySQL database,
>> > via MyODBC 3.51.05. The operating system is Compaq Tru 64, version 4 and
>> > version 5 (same behaviour on both oses).
>> > 
>> > I'm experiencing a problem in that when I put data into a 'longtext' field
>> > (ODBC datatype SQL_LONGVARCHAR), using SQLPutData, I get nulls inserted
>> > into the field. This problem seems to be occurring in MyODBC (in
>> > a realloc call), but before I take my problem there, I want to check:
>> > has anyone seen such a big using UnixODBC before?
>> 
>> I have code here which calls SQLPutData to insert images into longvarchars
>> in
>> MS SQL Server through our ODBC-ODBC Bridge and it works with unixODBC 2.2.4.
> 
> Ok, but which operating system are you using?

Linux.

That is:

Linux machine
=============

C APP
  unixODBC
    Easysoft ODBC-ODBC Bridge client ODBC driver

^
|
| network
|
v

Windows machine
===============
Easysoft ODBC-ODBC Bridge Server
  MS Windows driver manager
    MS SQL Server ODBC driver

However, I can make it all work to our Linux Oracle driver all running on Linux
with unixODBC too.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development


Gmane