facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.47k stars 711 forks source link

Fix build error on std::pair comparison #1405

Closed laurynas-biveinis closed 6 months ago

laurynas-biveinis commented 7 months ago

This fixes

/Users/laurynas/vilniusdb/fb-mysql-8.0.28/sql/binlog.cc:1649:24: error: invalid operands to binary expression ('std::pair<int64_t, int64_t>' (aka 'pair<long long, long long>') and 'std::pair<long, long>' (aka 'pair<long, long>')) if (param.checkpoint != std::pair(-1L, -1L)) {



by explicitly providing the std::pair types.

Squash with 6aa7549f0c0fb436f7ff3a01b5ad43ed58b1e21b
facebook-github-bot commented 7 months ago

@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.