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

storage/innobase/dict/dict0dd.cc: fix Apple clang 14 Release build #1350

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/dict0dd-release-build/storage/innobase/dict/dict0dd.cc:1742:12: error: variable 'old_n_stored_cols' set but not used [-Werror,-Wunused-but-set-variable] uint32_t old_n_stored_cols = 0; ^

Drop on 8.0.32 rebase.

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.