[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-commits
Subject:    [mythtv-commits] [MythTV/mythtv] 5d6f06: Fix boolean conversion issue with new MySQL 8.
From:       David Engel via mythtv-commits <mythtv-commits () mythtv ! org>
Date:       2021-10-28 19:46:09
Message-ID: MythTV/mythtv/push/refs/heads/fixes/31/1db67b-5d6f06 () github ! com
[Download RAW message or body]

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


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic