We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b23d7 commit c2b86dfCopy full SHA for c2b86df
mysql-5.6.26/storage/innobase/btr/btr0cur.cc
@@ -1394,7 +1394,7 @@ btr_cur_optimistic_insert(
1394
if (index->space == srv_ol_space_id && leaf && dict_index_is_clust(index)) {
1395
if (leaf && !zip_size && dict_index_is_clust(index)
1396
&& page_get_n_recs(page) >= 2
1397
- && ( UNIV_PAGE_SIZE/16 + rec_size) > max_size //(UNIV_PAGE_SIZE/10)
+ && ( dict_index_get_space_reserve() + rec_size) > max_size //(UNIV_PAGE_SIZE/10)
1398
&& (btr_page_get_split_rec_to_right(cursor, &dummy)
1399
|| btr_page_get_split_rec_to_left(cursor, &dummy))) {
1400
goto fail;
0 commit comments