wxODBC: wxDbTable::IsColNull bug

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
molto_b
In need of some credit
In need of some credit
Posts: 8
Joined: Mon Oct 18, 2004 7:19 pm

wxODBC: wxDbTable::IsColNull bug

Post by molto_b »

Hi there,

in one of my database tables some of the values are NULL (checked with other client SW). But wxDbTable::IsColNull() always returns false.

I am not sure whether this is a problem of wxODBC or the ODBC driver I am using. Maybe other users have the same problem and can comment and post their configuration?

This would help us to find out where to look and search for the problem/post a bug report. Especially if you've encountered the issue with a completely different database...

There was a similar post a year ago on the wx-user mailing list (http://lists.wxwidgets.org/archive/wx-u ... 63291.html).

My configuration:

wxWidgets 2.6.2
Windows XP SP 2
Visual C++ 2005 Express

Database:
PostgreSQL 8.1.1 (release date 2005-12-12)
ODBC driver from same release

Thanks a lot,
Mike
molto_b
In need of some credit
In need of some credit
Posts: 8
Joined: Mon Oct 18, 2004 7:19 pm

Post by molto_b »

There is in fact a bug in the 2.6.2 wxDbTable code. I was able to fix it and see how to submit it...

Mike
priyank_bolia
wxWorld Domination!
wxWorld Domination!
Posts: 1339
Joined: Wed Aug 03, 2005 8:10 am
Location: BANGALORE, INDIA
Contact:

Post by priyank_bolia »

molto_b
In need of some credit
In need of some credit
Posts: 8
Joined: Mon Oct 18, 2004 7:19 pm

Post by molto_b »

Patch has been submitted. Thanks.

http://sourceforge.net/tracker/index.ph ... tid=309863

Mike
Post Reply