CVS update: gnucash/src/backend/postgres
Derek Atkins
warlord at linas.org
Sun Jul 27 15:20:20 CDT 2003
Date: Sunday July 27, 2003 @ 14:20
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/backend/postgres
In directory www.linas.org:/tmp/cvs-serv26953/src/backend/postgres
Modified Files:
PostgresBackend.c PostgresBackend.h book.c book.h escape.c
price.c
Log Message:
* src/backend/postgres/PostgresBackend.c: Added pgendGetBook(),
to retrieve the QofBook from the session, instead of storing the
book in the backend object.
- Where be->book was used, use pgendGetBook() instead.
- Enhanced debug messages.
* src/backend/postgres/PostgresBackend.h: Added the qofbook.h
include, and the pgendGetBook() prototype
* src/backend/postgres/book.c: Changed pgendGetBook to
pgendBookRestore() to reflect its functionality of restoring
the book's data to the engine.
* src/backend/postgres/price.c: In pgendPriceFind(), couched the
currenct portion of the SQL statement in an "if" statement,
because gnc_pricedb_lookup_latest_any_currency() can pass in
a NULL currency, and stpcpy() doesn't like NULLs.
* src/backend/postgres/escape.c: enhanced debug messages.
Fixes bug #116546
More information about the gnucash-patches
mailing list