Recent update to gnc_pricdb breaks SQL Backend

Derek Atkins warlord@MIT.EDU
16 Mar 2001 18:47:34 -0500


Due to a change in Timespec retuns, you need to apply this patch
to the SQL backend:

Index: table.m4
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/sql/table.m4,v
retrieving revision 1.10
diff -u -r1.10 table.m4
--- src/engine/sql/table.m4	2001/03/01 04:47:13	1.10
+++ src/engine/sql/table.m4	2001/03/16 23:46:22
@@ -74,7 +74,7 @@
 define(`price', `gncPrice, Price, GNCPrice,
        commodity,   , commod,   gnc_commodity_get_unique_name(gnc_price_get_commodity(ptr)),
        currency,    , commod,   gnc_commodity_get_unique_name(gnc_price_get_currency(ptr)),
-       time,        , Timespec, *gnc_price_get_time(ptr),
+       time,        , Timespec, gnc_price_get_time(ptr),
        source,      , char *,   gnc_price_get_source(ptr),
        type,        , char *,   gnc_price_get_type(ptr),
        valueNum,    , int64,    gnc_numeric_num(gnc_price_get_value(ptr)),

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available