[mythtv-commits] [MythTV/mythtv] 8ebfeb: Fix boolean conversion issue with new MySQL 8.

David Engel noreply at github.com
Thu Oct 28 19:38:19 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 8ebfeb3bbf2ed192bc42213b2a3645df4bfa6685
      https://github.com/MythTV/mythtv/commit/8ebfeb3bbf2ed192bc42213b2a3645df4bfa6685
  Author: David Engel <dengel at mythtv.org>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M mythtv/programs/mythbackend/scheduler.cpp

  Log Message:
  -----------
  Fix boolean conversion issue with new MySQL 8.

MySQL 8.0.27 changed something with how it handles the implicit
conversions of booleans when used with arithmetic operators.  The
change caused the power, priority calculations in the scheduler to
fail due to mixed signed and unsigned values.  Fix the issue by
explicitly converting to 1 or 0.




More information about the mythtv-commits mailing list