FirebirdDatabaseLayer 1.8 TranslateErrorCodeToString

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
bone
Experienced Solver
Experienced Solver
Posts: 74
Joined: Fri Nov 30, 2007 10:11 am
Location: Oz

FirebirdDatabaseLayer 1.8 TranslateErrorCodeToString

Postby bone » Tue Aug 03, 2010 9:58 am

in wxString FirebirdDatabaseLayer::TranslateErrorCodeToString(...) there is a line

Code: Select all

if (nCode < -900) //Error codes less than -900 indicate that it wasn't a SQL error but an ibase system error

This is surely wrong as it doesn't work for many SQL messages. I did post about this previously for 1.7 but I think the code is around the wrong way and the wrong code block gets called.

Code: Select all

if (nCode > -901)

works perfectly so far.

I don't know where to post these bugs. Emailing the maintainer does not elicit a response.
Regards, John

Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 2 guests