gnucash maint: Restore the timespec_val column name in the slots table.

John Ralls jralls at code.gnucash.org
Thu Aug 30 20:05:09 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/fc368b91 (commit)
	from  https://github.com/Gnucash/gnucash/commit/6dfbf3d5 (commit)



commit fc368b91d2b25c7d21df3fe7cb71afdde7ed5e47
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Aug 30 17:03:41 2018 -0700

    Restore the timespec_val column name in the slots table.
    
    Renaming it would require a backwards-incompatible schema change,
    something that shouldn't happen in the middle of a stable series.

diff --git a/libgnucash/backend/sql/gnc-slots-sql.cpp b/libgnucash/backend/sql/gnc-slots-sql.cpp
index cf1fc7b..4d19734 100644
--- a/libgnucash/backend/sql/gnc-slots-sql.cpp
+++ b/libgnucash/backend/sql/gnc-slots-sql.cpp
@@ -140,7 +140,7 @@ static const EntryVec col_table
     gnc_sql_make_table_entry<CT_DOUBLE>("double_val", 0, 0,
                                         (QofAccessFunc)get_double_val,
                                         set_double_val),
-    gnc_sql_make_table_entry<CT_TIME>("time_val", 0, 0,
+    gnc_sql_make_table_entry<CT_TIME>("timespec_val", 0, 0,
                                           (QofAccessFunc)get_time_val,
                                           (QofSetterFunc)set_time_val),
     gnc_sql_make_table_entry<CT_GUID>("guid_val", 0, 0,



Summary of changes:
 libgnucash/backend/sql/gnc-slots-sql.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list