Marin D wrote:

> where PQgetvalue() returns a number as string.
> 
> For example while debugging PQgetvalue() returns "0" but lTotalInc
> is not assigned 0 and stays unitialized.

A long shot, but how is PGgetvalue allocating the returned string? My
first thought is a local (stack-based) array, that gets overwritten by
the sscanf call.

---
Henrik Nordstr�m

Reply via email to