Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Four date elements were affected: GncEntry::date, GncEntry::date_entered, GncInvoice::opened, and GncInvoice::posted. The problem arose during the cleansing of Timespec from the reports; the setter functions for those elements were converted to time64 but no provision was made to the SQL backend to pass them time64 instead of Timespec*. This commit adds a new column type, CT_TIME64, and changes the column types for those elements to CT_TIME64.
- Loading branch information
Showing
4 changed files
with
66 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ enum GncSqlObjectType | |
CT_INT, | ||
CT_INT64, | ||
CT_TIMESPEC, | ||
CT_TIME64, | ||
CT_GDATE, | ||
CT_NUMERIC, | ||
CT_DOUBLE, | ||
|