Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9624

TMySQLStatement.h incompatible with MySQL 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.14/00
    • Fix Version/s: 6.16/00, 6.14/06
    • Component/s: None
    • Labels:
      None
    • Environment:

      mac OS High Sierra
      MySQL 8 installed with brew
      ROOT 6.14 with mysql enabled

      Description

      MySQL 8 has replaced 5.7 on Macs when using brew.

      MySQL 8 got rid of the typedef my_bool : https://bugs.mysql.com/bug.php?id=85131

      Thus, when using TMySQLStatement.h I get an error :

      DEBUG:QualityControl:QualityControl:0: /Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-14-00+git_77868d9d46-1/include/TMySQLStatement.h:35:7: error: unknown type name 'my_bool'
      DEBUG:QualityControl:QualityControl:0: my_bool fResNull; //! indicates if argument is null
      

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            bvonhall Barthelemy Von Haller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: