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:
Neil Williams 2006-02-06 20:45:27 +00:00
parent 3908088b52
commit 95bd560bdc
3 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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);
}
}

View File

@ -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);
}
}