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

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


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 5d6f06cc3a72e46700df268d11e20c78274359d5
      https://github.com/MythTV/mythtv/commit/5d6f06cc3a72e46700df268d11e20c78274359d5
  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.

(cherry picked from commit 8ebfeb3bbf2ed192bc42213b2a3645df4bfa6685)




More information about the mythtv-commits mailing list