mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
more bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4542 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c8aebf690e
commit
1408d4a286
@ -1463,6 +1463,10 @@ pgendRunQuery (Backend *bend, Query *q)
|
||||
|
||||
sql_Query_destroy(sq);
|
||||
|
||||
/* the fill-out will dirty a lot of data. That's irrelevent,
|
||||
* mark it all as having been saved. */
|
||||
xaccGroupMarkSaved (be->topgroup);
|
||||
|
||||
pgendEnable(be);
|
||||
gnc_engine_resume_events();
|
||||
|
||||
@ -1785,6 +1789,10 @@ pgendPriceLookup (Backend *bend, GNCPriceLookup *look)
|
||||
SEND_QUERY (be, be->buff, );
|
||||
pgendGetResults (be, get_price_cb, look->prdb);
|
||||
|
||||
/* insertion into the price db will mark it dirty;
|
||||
* but it really isn't at this point. */
|
||||
gnc_pricedb_mark_clean (look->prdb);
|
||||
|
||||
/* re-enable events */
|
||||
pgendEnable(be);
|
||||
gnc_engine_resume_events();
|
||||
@ -3093,7 +3101,8 @@ pgend_session_begin (GNCBook *sess, const char * sessionid,
|
||||
be->be.price_commit_edit = pgend_price_commit_edit;
|
||||
be->be.run_query = pgendRunQuery;
|
||||
be->be.price_lookup = pgendPriceLookup;
|
||||
be->be.sync = pgendSync;
|
||||
// be->be.sync = pgendSync;
|
||||
be->be.sync = NULL;
|
||||
be->be.sync_price = pgendSyncPriceDB;
|
||||
PWARN ("MODE_POLL is alpha -- \n"
|
||||
"there are a few unfixed bugs, but maybe this mode is usable.\n"
|
||||
|
@ -248,9 +248,6 @@ This list only affects the multi-user and advanced/optional features.
|
||||
Most of the items on this list are 'critical' in the sense that
|
||||
multi-user mode is fundamentally broken unless they are fixed.
|
||||
|
||||
-- multi-user mode says 'not saved, save?' we keep clearing this flag,
|
||||
when is it getting set ???
|
||||
|
||||
-- modify checkpoint computation to always occur on fixed dates.
|
||||
Failure to do so causes the fill-out algorithm to pull in all
|
||||
data. Document this inn design.txt
|
||||
|
Loading…
Reference in New Issue
Block a user