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

Fix MyRocks compilation errors for Ubuntu 18.10 gcc 8.2.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 5.7.23-23, 8.0.12-2rc1
    • Fix Version/s: 5.7.23-24, 8.0.13-3
    • Component/s: MyRocks
    • Labels:
      None

      Description

      storage/rocksdb/rdb_datadic.cc:124:44: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class myrocks::Rdb_field_packing’ with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess]
           memcpy(m_pack_info, k.m_pack_info, size);
      

      Several instances of

      error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
      

        Attachments

          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 - 5 hours
                5h

                  Smart Checklist