diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2014-12-02 15:03:35 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2014-12-05 11:01:50 +0400 |
commit | 974808772b63563d031f687fd0fd158f83eb94aa (patch) | |
tree | e0013411d59f7afaba7dd023ffa48af04ea4eb3f /sql | |
parent | 9e9f1da0d2dd5d9de9094d20d0b39e71ec4ce479 (diff) | |
download | mariadb-git-974808772b63563d031f687fd0fd158f83eb94aa.tar.gz |
MDEV-7004 - Merge scalability fixes from 10.0-power
All callers of open_cached_file() use 2 characters prefix. Allocating memory for
such short string is an overkill. Store it on IO_CACHE structure instead.
All callers of open_cached_file() use mysql_tmpdir as dir. No need to allocate
memory for it since it is constant and available till server shutdown.
This reduces number of allocations from 31 to 27 per OLTP RO transaction.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions