diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-07-13 21:10:18 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-07-13 21:10:18 +0200 |
commit | a8446356373e84530a4c83759370178ec2bce571 (patch) | |
tree | 51b83e92f9aa489a3308a6ea66546e06ae025689 /storage/maria/ma_rsame.c | |
parent | aac3a1eac9f6aa347311e7cce7547e269bed5ea0 (diff) | |
download | mariadb-git-a8446356373e84530a4c83759370178ec2bce571.tar.gz |
use PSI wrappers in aria and other non-MySQL code
Diffstat (limited to 'storage/maria/ma_rsame.c')
-rw-r--r-- | storage/maria/ma_rsame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/maria/ma_rsame.c b/storage/maria/ma_rsame.c index 9ddd487a8a3..c20faf965b4 100644 --- a/storage/maria/ma_rsame.c +++ b/storage/maria/ma_rsame.c @@ -62,11 +62,11 @@ int maria_rsame(MARIA_HA *info, uchar *record, int inx) info->cur_row.lastpos, info->cur_row.trid); if (info->s->lock_key_trees) - rw_rdlock(&keyinfo->root_lock); + mysql_rwlock_rdlock(&keyinfo->root_lock); _ma_search(info, &info->last_key, SEARCH_SAME, info->s->state.key_root[inx]); if (info->s->lock_key_trees) - rw_unlock(&keyinfo->root_lock); + mysql_rwlock_unlock(&keyinfo->root_lock); } if (!(*info->read_record)(info, record, info->cur_row.lastpos)) |