File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1461,6 +1461,11 @@ row_insert_for_mysql(
1461
1461
with a latch. */
1462
1462
dict_table_n_rows_inc (table);
1463
1463
1464
+ if (prebuilt->clust_index_was_generated ) {
1465
+ /* set row id to prebuilt */
1466
+ ut_memcpy (prebuilt->row_id , node->row_id_buf , DATA_ROW_ID_LEN);
1467
+ }
1468
+
1464
1469
row_update_statistics_if_needed (table);
1465
1470
trx->op_info = " " ;
1466
1471
Original file line number Diff line number Diff line change @@ -1455,6 +1455,11 @@ row_insert_for_mysql(
1455
1455
srv_stats.n_rows_inserted .add ((size_t )trx->id , 1 );
1456
1456
}
1457
1457
1458
+ if (prebuilt->clust_index_was_generated ) {
1459
+ /* set row id to prebuilt */
1460
+ ut_memcpy (prebuilt->row_id , node->row_id_buf , DATA_ROW_ID_LEN);
1461
+ }
1462
+
1458
1463
/* Not protected by dict_table_stats_lock() for performance
1459
1464
reasons, we would rather get garbage in stat_n_rows (which is
1460
1465
just an estimate anyway) than protecting the following code
You can’t perform that action at this time.
0 commit comments