GithubHelp home page GithubHelp logo

Comments (6)

mdcallag avatar mdcallag commented on April 28, 2024

Another one, but an error rather than a warning

In file included from /home/mdcallag/git/fbmysql-56/storage/rocksdb/ha_rocksdb.cc:87:
/home/mdcallag/git/fbmysql-56/storage/rocksdb/./clone/common.h: In member function ‘constexpr bool myrocks::clone::locator::has_applier_status() const’:
/home/mdcallag/git/fbmysql-56/storage/rocksdb/./clone/common.h:282:35: error: call to non-‘constexpr’ function ‘bool std::vector<_Tp, _Alloc>::empty() const [with _Tp = myrocks::clone::locator::file_state; _Alloc = std::allocator<myrocks::clone::locator::file_state>]’
  282 |     return !m_applier_status.empty();
      |             ~~~~~~~~~~~~~~~~~~~~~~^~

from mysql-5.6.

laurynas-biveinis avatar laurynas-biveinis commented on April 28, 2024

/home/mdcallag/git/fbmysql-56/plugin/clone/src/clone_os.cc:312:21: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
312 | if (file_size < 0) {
| ~~~~~~~~~~^~~

Should read file_size == MY_FILEPOS_ERROR, will PR as soon as the trunk status is clear

from mysql-5.6.

laurynas-biveinis avatar laurynas-biveinis commented on April 28, 2024

/home/mdcallag/git/fbmysql-56/storage/rocksdb/./clone/common.h: In member function ‘constexpr bool myrocks::clone::locator::has_applier_status() const’:
/home/mdcallag/git/fbmysql-56/storage/rocksdb/./clone/common.h:282:35: error: call to non-‘constexpr’ function ‘bool std::vector<_Tp, _Alloc>::empty() const [with _Tp = myrocks::clone::locator::file_state; _Alloc = std::allocatormyrocks::clone::locator::file_state]’
282 | return !m_applier_status.empty();
| ~~~~~~~~~~~~~~~~~~~~~~^~

Was already fixed last week in the clone PR, apparently an older version had been merged instead

from mysql-5.6.

hermanlee avatar hermanlee commented on April 28, 2024

I'm in the process of fixing this. A slightly older version of the PR was pushed, and the patch summaries were also missing. The fixed patch should be on its way via a forced update.

from mysql-5.6.

laurynas-biveinis avatar laurynas-biveinis commented on April 28, 2024

Should be fixed by 5728dd7

from mysql-5.6.

laurynas-biveinis avatar laurynas-biveinis commented on April 28, 2024

This issue should be closed (I cannot do that)

from mysql-5.6.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.