- 17 Oct, 2013 35 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Also fixed a bug regarding the HASH iteration. It previously got the stop condition from a different hashtable and this caused errors when the hash sizes were different.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
consistent.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
The logic is not complete yet.
-
Vicențiu Ciorbaru authored
no longer valid entries in the roles_mappings HASH. This job will be delegated to handle_grant_* functions
-
Vicențiu Ciorbaru authored
It will only hold _valid_ entries for as long as it held in memory. Any change regarding acl_users or acl_roles in memory should update the structure immediately. This is why the rebuild_roles_mappings no longer removes invalid entries. In order to keep things consistent with the existing code, the following jobs are assigned to each function: The role of rebuild_roles_mappings is to recreate the links between users and roles. Any other updates are to be done in the functions: handle_grant_* This change prepares the code for the next step, which is cascading updates.
-
Vicențiu Ciorbaru authored
function
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Also removed code that loads that column into memory.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
No cascading changes take place during a user rename. This needs to be addressed.
-
Vicențiu Ciorbaru authored
user creation.
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
No more memory leaks in the code.
-
Vicențiu Ciorbaru authored
Still problems with hashtable acl_roles Need to create a copy of grant_roles, currently it uses the same buffer
-
Vicențiu Ciorbaru authored
The function calls delete_dynamic, after if calls a free function on every array element.
-
Vicențiu Ciorbaru authored
TODO: Memory allocated for the array is never freed
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
Changed ACL_USER.user from char * to LEX_STRING. Refactored every section that made use of ACL_USER.user as a char*. This was done so as to be able to quickly check the hash_key of the acl_user.
-
Vicențiu Ciorbaru authored
role_grants is no longer used as it will be added to the ACL_USER class
-
Vicențiu Ciorbaru authored
It was a leftover from attempting to use Hash_set
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
There is an issue with correct searching of keys in the HASH.
-
Vicențiu Ciorbaru authored
TODO: Free structures on flush
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
-
- 18 Oct, 2013 2 commits
-
-
timour@askmonty.org authored
-
timour@askmonty.org authored
MDEV-5123 Remove duplicated conditions pushed both to join_tab->select_cond and join_tab->cache_select->cond for blocked joins. BNL and BNLH joins pre-filter the records from a joined table via JOIN_TAB::cache_select->cond. There is no need to re-evaluate the same conditions via JOIN_TAB::select_cond. This patch removes the duplicated conditions from the top-level conjuncts of each pushed condition. The added "Using where" in few EXPLAINs is due to taking into account tab->cache_select->cond in addition to tab->select_cond in JOIN::save_explain_data_intern.
-
- 21 Oct, 2013 3 commits
-
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-