diff options
author | Monty <monty@mariadb.org> | 2020-08-14 18:56:56 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-05-19 22:27:27 +0200 |
commit | da85ad798708d045e7ba1963172daf81aeb80ab9 (patch) | |
tree | 8f162d22181719f35550b5f48c2b45ca82128bd0 /sql/sql_string.h | |
parent | c76eabfb5e39a1b0831159decd3e0b544b9ad2e3 (diff) | |
download | mariadb-git-da85ad798708d045e7ba1963172daf81aeb80ab9.tar.gz |
Optimize Sql_alloc
- Remove 'dummy_for_valgrind' overrun marker as this doesn't help much.
The element also distorts the sizes of objects a bit, which makes it
harder to calculate gain in object sizes when doing size optimizations.
- Replace usage of thd_get_current_thd() with _current_thd()
- Avoid one extra call indirection when using thd_get_current_thd(), which
is used by Sql_alloc, by replacing it with _current_thd()
Diffstat (limited to 'sql/sql_string.h')
0 files changed, 0 insertions, 0 deletions