facebook / mysql-5.6

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

sql/sql_plugin.cc: fix Apple clang 14 Release build #1351

Closed laurynas-biveinis closed 1 year ago

laurynas-biveinis commented 1 year ago

In Release build, there is a write-only variable:

/Users/laurynas/vilniusdb/sql_plugin-release-build/sql/sql_plugin.cc:1538:8: error: variable 'rocksdb_loaded' set but not used [-Werror,-Wunused-but-set-variable] bool rocksdb_loaded = false; ^

facebook-github-bot commented 1 year ago

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