diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-13 12:09:19 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-13 12:09:19 +0200 |
commit | ed21202a14e981a997061db12b2a377910fb02d5 (patch) | |
tree | f24c753931f6d31feee5d4382b8436c952903e9f /sql/sql_base.h | |
parent | d9d3c222caefd77fabe172f8396dc42041066ccf (diff) | |
download | mariadb-git-ed21202a14e981a997061db12b2a377910fb02d5.tar.gz |
Fix GCC 10.0 -Wstringop-overflow
myrg_open(): Reduce the scope of the variable 'end' and
simplify the code.
For some reason, I got no warning for this code in the 10.2
branch, only 10.3 or later.
The ENGINE=MERGE is covered by the tests main.merge, main.merge_debug,
and main.merge-big.
Diffstat (limited to 'sql/sql_base.h')
0 files changed, 0 insertions, 0 deletions