[MDEV-5608] optimize plugin locks Created: 2014-02-04  Updated: 2015-11-17

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Sometimes server calls plugin_lock() more often than necessary.
For example,

CREATE TABLE t1 (a int) ENGINE=MyISAM;

in this test plugin_lock() is called five times — four times locally, and then globally. We should be able to optimize redundant plugin_lock() calls.



 Comments   
Comment by Sergei Golubchik [ 2014-04-17 ]

on the other hands, it doesn't show up in benchmarks

Generated at Thu Feb 08 07:05:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.