mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
more inst.kvp_data changes to get Postgres backend to compile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13135 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3908088b52
commit
95bd560bdc
@ -575,7 +575,7 @@ pgendFillOutToCheckpoint (PGBackend *be, const char *query_string)
|
||||
for (snode = engine_splits; snode; snode=snode->next)
|
||||
{
|
||||
Split *s = snode->data;
|
||||
s->kvp_data = pgendKVPFetch (be, s->idata, s->kvp_data);
|
||||
s->inst.kvp_data = pgendKVPFetch (be, s->idata, s->inst.kvp_data);
|
||||
}
|
||||
|
||||
xaccTransCommitEdit (trans);
|
||||
|
@ -233,7 +233,7 @@ pgendStoreTransactionNoLock (PGBackend *be, Transaction *trans,
|
||||
if (s->idata)
|
||||
{
|
||||
pgendKVPDelete (be, s->idata);
|
||||
pgendKVPStore (be, s->idata, s->kvp_data);
|
||||
pgendKVPStore (be, s->idata, s->inst.kvp_data);
|
||||
}
|
||||
}
|
||||
|
||||
@ -822,13 +822,13 @@ pgendCopyTransactionToEngine (PGBackend *be, const GUID *trans_guid)
|
||||
Split *s = node->data;
|
||||
if (0 != s->idata)
|
||||
{
|
||||
if (!kvp_frame_is_empty (s->kvp_data))
|
||||
if (!kvp_frame_is_empty (s->inst.kvp_data))
|
||||
{
|
||||
kvp_frame_delete (s->kvp_data);
|
||||
s->kvp_data = kvp_frame_new ();
|
||||
kvp_frame_delete (s->inst.kvp_data);
|
||||
s->inst.kvp_data = kvp_frame_new ();
|
||||
}
|
||||
|
||||
s->kvp_data = pgendKVPFetch (be, s->idata, s->kvp_data);
|
||||
s->inst.kvp_data = pgendKVPFetch (be, s->idata, s->inst.kvp_data);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -274,7 +274,7 @@ pgendGetMassTransactions (PGBackend *be, QofBook *book)
|
||||
Split *s = snode->data;
|
||||
if (s->idata)
|
||||
{
|
||||
s->kvp_data = pgendKVPFetch (be, s->idata, s->kvp_data);
|
||||
s->inst.kvp_data = pgendKVPFetch (be, s->idata, s->inst.kvp_data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user