[Gnucash-changes] r13135 - gnucash/trunk/src/backend/postgres - more inst.kvp_data changes to get Postgres backend to compile

Neil Williams codehelp at cvs.gnucash.org
Mon Feb 6 15:45:28 EST 2006


Author: codehelp
Date: 2006-02-06 15:45:27 -0500 (Mon, 06 Feb 2006)
New Revision: 13135
Trac: http://svn.gnucash.org/trac/changeset/13135

Modified:
   gnucash/trunk/src/backend/postgres/PostgresBackend.c
   gnucash/trunk/src/backend/postgres/txn.c
   gnucash/trunk/src/backend/postgres/txnmass.c
Log:
more inst.kvp_data changes to get Postgres backend to compile

Modified: gnucash/trunk/src/backend/postgres/PostgresBackend.c
===================================================================
--- gnucash/trunk/src/backend/postgres/PostgresBackend.c	2006-02-06 20:41:40 UTC (rev 13134)
+++ gnucash/trunk/src/backend/postgres/PostgresBackend.c	2006-02-06 20:45:27 UTC (rev 13135)
@@ -575,7 +575,7 @@
       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);

Modified: gnucash/trunk/src/backend/postgres/txn.c
===================================================================
--- gnucash/trunk/src/backend/postgres/txn.c	2006-02-06 20:41:40 UTC (rev 13134)
+++ gnucash/trunk/src/backend/postgres/txn.c	2006-02-06 20:45:27 UTC (rev 13135)
@@ -233,7 +233,7 @@
          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 @@
       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);
       }
    }
 

Modified: gnucash/trunk/src/backend/postgres/txnmass.c
===================================================================
--- gnucash/trunk/src/backend/postgres/txnmass.c	2006-02-06 20:41:40 UTC (rev 13134)
+++ gnucash/trunk/src/backend/postgres/txnmass.c	2006-02-06 20:45:27 UTC (rev 13135)
@@ -274,7 +274,7 @@
          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);
          }
       }
 



More information about the gnucash-changes mailing list