File tree Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -2395,24 +2395,6 @@ row_merge_insert_index_tuples(
2395
2395
#endif /* UNIV_DEBUG */
2396
2396
ulint* ins_offsets = NULL ;
2397
2397
2398
- /* First reserve enough free space for the file segments
2399
- of the index tree, so that the insert will not fail because
2400
- of lack of space */
2401
-
2402
- {
2403
- ulint n_extents = cursor.tree_height / 16 + 3 ;
2404
- ibool success;
2405
- ulint n_reserved = 0 ;
2406
-
2407
- success = fsp_reserve_free_extents (&n_reserved, index->space ,
2408
- n_extents, FSP_NORMAL, &mtr);
2409
-
2410
- if (!success) {
2411
- error = DB_OUT_OF_FILE_SPACE;
2412
- goto err_exit;
2413
- }
2414
- }
2415
-
2416
2398
error = btr_cur_optimistic_insert (
2417
2399
BTR_NO_UNDO_LOG_FLAG | BTR_NO_LOCKING_FLAG
2418
2400
| BTR_KEEP_SYS_FLAG | BTR_CREATE_FLAG,
Original file line number Diff line number Diff line change @@ -2401,24 +2401,6 @@ row_merge_insert_index_tuples(
2401
2401
#endif /* UNIV_DEBUG */
2402
2402
ulint* ins_offsets = NULL ;
2403
2403
2404
- /* First reserve enough free space for the file segments
2405
- of the index tree, so that the insert will not fail because
2406
- of lack of space */
2407
-
2408
- {
2409
- ulint n_extents = cursor.tree_height / 16 + 3 ;
2410
- ibool success;
2411
- ulint n_reserved = 0 ;
2412
-
2413
- success = fsp_reserve_free_extents (&n_reserved, index->space ,
2414
- n_extents, FSP_NORMAL, &mtr);
2415
-
2416
- if (!success) {
2417
- error = DB_OUT_OF_FILE_SPACE;
2418
- goto err_exit;
2419
- }
2420
- }
2421
-
2422
2404
error = btr_cur_optimistic_insert (
2423
2405
BTR_NO_UNDO_LOG_FLAG | BTR_NO_LOCKING_FLAG
2424
2406
| BTR_KEEP_SYS_FLAG | BTR_CREATE_FLAG,
You can’t perform that action at this time.
0 commit comments