mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Code cleanups during code reviews
Ensure we get error if INSERT IGNORE ... SELECT fails Fixed wrong key_part->key_length usage in index_merge
This commit is contained in:
@@ -178,7 +178,7 @@ static double get_merge_many_buffs_cost(uint *buffer,
|
||||
Set initial state: first maxbuffer sequences contain max_n_elems elements
|
||||
each, last sequence contains last_n_elems elements.
|
||||
*/
|
||||
for(i = 0; i < (int)maxbuffer; i++)
|
||||
for (i = 0; i < (int)maxbuffer; i++)
|
||||
buff_elems[i]= max_n_elems;
|
||||
buff_elems[maxbuffer]= last_n_elems;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user