1) QR_get_fields() gets called when SC_fetch() is entered. However, the QR
cleanup will free the QResultClass object. And the pointer "coli" is no longer
valid when CI_get_oid() gets called further down.
I have fixed this by calling QR_get_fields() after the first if-statement.
2) This is basically the same "cache" bug: PGAPI_ExtendedFetch() caches the
stored QResultClass object when the function is entered. But after SC_fetch()
was called, the pointer is no longer valid.
I have fixed this by calling SC_get_Curres() again after the call to
results.c (r1.83 -> r1.84)
statement.c (r1.106 -> r1.107)
pgsql-committers by date
|Next:||From: User Madness||Date: 2005-11-04 16:10:32|
|Subject: press - pr: Final commit for Turkish translation.|
|Previous:||From: User Dpage||Date: 2005-11-04 15:17:54|
|Subject: psqlodbc - psqlodbc: It's C, not C++ Dave :-(|