[MDEV-5214] Status variables for number of global/db/table/column/role grants Created: 2013-10-30  Updated: 2015-08-07  Resolved: 2015-03-19

Status: Closed
Project: MariaDB Server
Component/s: Admin statements
Fix Version/s: 10.1.4

Type: Task Priority: Major
Reporter: Sergei Golubchik Assignee: Vicențiu Ciorbaru
Resolution: Fixed Votes: 0
Labels: None


 Description   

Add status variables for number of rows in the mysql.user, db, tables_priv, columns_priv, procs_priv, role_mapping tables. This will show up in the feedback reports and we'll know typical number of grants that our users use, so that we could optimize for that.



 Comments   
Comment by Sergei Golubchik [ 2015-03-19 ]

ok to push

Comment by Vicențiu Ciorbaru [ 2015-03-19 ]

Implemented with:

1a329935374c799750ebe5cff56809789dd40539

Comment by Elena Stepanova [ 2015-08-07 ]

serg, cvicentiu,

Is it not a breach of security, although a minor one? A non-privileged user cannot read system tables, but can get a number of rows in them via status variables.

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