Add an internal schema to the registry. @param name the schema name @param access the schema ACL specific rules */
| 9544 | @param access the schema ACL specific rules |
| 9545 | */ |
| 9546 | void ACL_internal_schema_registry::register_schema |
| 9547 | (const LEX_STRING *name, const ACL_internal_schema_access *access) |
| 9548 | { |
| 9549 | DBUG_ASSERT(m_registry_array_size < array_elements(registry_array)); |
| 9550 | |
| 9551 | /* Not thread safe, and does not need to be. */ |
| 9552 | registry_array[m_registry_array_size].m_name= name; |
| 9553 | registry_array[m_registry_array_size].m_access= access; |
| 9554 | m_registry_array_size++; |
| 9555 | } |
| 9556 | |
| 9557 | /** |
| 9558 | Search per internal schema ACL by name. |
nothing calls this directly
no outgoing calls
no test coverage detected