Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4962

Fix TokuDB compilation errors for Ubuntu 18.10 gcc 8.2.0

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Not 5.6, Not 5.7, 8.0.12-2rc1
    • Fix Version/s: 8.0.13-3
    • Component/s: TokuDB
    • Labels:
      None

      Description

      storage/tokudb/ha_tokudb.cc:6480:38: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘KEY_AND_COL_INFO’ {aka ‘struct st_key_and_col_info’}; use assignment or value-initialization instead [-Werror=class-memaccess]
      

      and

      storage/tokudb/ha_tokudb_alter.cc:860:65: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘KEY_AND_COL_INFO’ {aka ‘struct st_key_and_col_info’}; use assignment or value-initialization instead [-Werror=class-memaccess]
      

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  george.lorch George Lorch
                  Reporter:
                  george.lorch George Lorch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1 day, 2 hours, 30 minutes
                    1d 2h 30m