Before any operation is possible on grant tables, they must be opened. @retval 1 replication filters matched. Abort the operation, but return OK (!) @retval 0 tables were opened successfully @retval -1 error, tables could not be opened */
| 2185 | @retval -1 error, tables could not be opened |
| 2186 | */ |
| 2187 | int really_open(THD *thd, TABLE_LIST* tables, uint *counter) |
| 2188 | { |
| 2189 | DBUG_ENTER("Grant_tables::really_open:"); |
| 2190 | #ifdef HAVE_REPLICATION |
| 2191 | if (rpl_ignore_tables(thd, tables)) |
| 2192 | { |
| 2193 | DBUG_RETURN(1); |
| 2194 | } |
| 2195 | #endif |
| 2196 | if (open_tables(thd, &tables, counter, MYSQL_LOCK_IGNORE_TIMEOUT)) |
| 2197 | DBUG_RETURN(-1); |
| 2198 | DBUG_RETURN(0); |
| 2199 | } |
| 2200 | |
| 2201 | User_table *p_user_table; |
| 2202 | User_table_json m_user_table_json; |
nothing calls this directly
no test coverage detected