[mythtv-commits] mythtv branch master updated by bmeek. v29-pre-508-ga296331

Git Repo Owner noreply at mythtv.org
Sat Jun 17 19:39:32 UTC 2017


The branch, master has been updated on the
mythtv repository by gitolite user bmeek.
       via  a29633136dcffff10b74d877fcac2cf14bc863d5 (commit)
      from  7d2be781fee67bb2da2bd7c1c16bcf670e2e4e40 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a29633136dcffff10b74d877fcac2cf14bc863d5
Author:    Bill Meek <bmeek at mythtv.org> at Sat, 17 Jun 2017 14:38:02 -0500
Committer: Bill Meek <bmeek at mythtv.org> at Sat, 17 Jun 2017 14:38:02 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a29633136dcffff10b74d877fcac2cf14bc863d5

Services API: Add/UpdateRecordSchedule, prevent DB Errors when timestamps aren't passed
Because they aren't required for SearchTypes other than None and Manual,
the start/end date/time, weren't being validated. If StartTime and EndTime
prarmeters weren't passed, then when an INSERT/UPDATE was done, the NULL
fields caused a DB Error and the API returned -1 ({"uint": "4294967295"}.)

This fix allows NULLs in the start/end date/time in the record table.

Fixes #13056



-----------------------------------------------------------------------

Summary of changes:
 mythtv/bindings/perl/MythTV.pm          |    2 +-
 mythtv/bindings/python/MythTV/static.py |    2 +-
 mythtv/libs/libmythbase/mythversion.h   |    2 +-
 mythtv/libs/libmythtv/dbcheck.cpp       |   13 +++++++++++++
 4 files changed, 16 insertions(+), 3 deletions(-)

-- 



More information about the mythtv-commits mailing list