[unixODBC-dev] Lots of warnings, and an outright error, in 2.2.14 on 64-bit

Nick Gorham nick at lurcher.org
Mon Feb 16 17:26:58 GMT 2009


Tom Lane wrote:

>Nick Gorham <nick at lurcher.org> writes:
>  
>
>>Tom Lane wrote:
>>    
>>
>>>Note there are several things that look to be outright bugs
>>>independently of platform word width, such as uninitialized variables
>>>and use of "==" where "=" was presumably meant.
>>>      
>>>
>
>  
>
>>Just checking, do you mean in the odbctest code? I can believe missing 
>>the arg change to SQLExtendedFetch, but outright bugs supprise me (maybe 
>>one, but lots of them?)
>>    
>>
>
>DriverManager/SQLCopyDesc.c has a whole lot of "ret == SQLGETDESCFIELD(..."
>that look like they must have been meant as "=" instead.  Maybe that
>only counts as one bug ;-).  There's another case in cur/SQLExtendedFetch.c.
>  
>
Yep, seem them, fixing as we type :-)

I will throw a new 2.2.15pre out after trying on a 64bit box here, I 
will let you know so you can see what I have missed in the code that 
2.2.15pre is using.

Thanks.

-- 
Nick


More information about the unixODBC-dev mailing list