summaryrefslogtreecommitdiff
path: root/storage/innobase/row/row0mysql.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-10-28 10:44:40 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-10-28 10:44:40 +0200
commit2b6f8044903dc974c32e071bc6a7c4099481ae80 (patch)
tree3f72286d31780f41c394889daea8433c7f603a75 /storage/innobase/row/row0mysql.cc
parenta8de8f261d1b7621b8e16396e87dfaac14891162 (diff)
parentcc5f4428b8b568f98e967a57178efcaf78702168 (diff)
downloadmariadb-git-2b6f8044903dc974c32e071bc6a7c4099481ae80.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'storage/innobase/row/row0mysql.cc')
-rw-r--r--storage/innobase/row/row0mysql.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/row/row0mysql.cc b/storage/innobase/row/row0mysql.cc
index 635210dd405..dc88b41c6b4 100644
--- a/storage/innobase/row/row0mysql.cc
+++ b/storage/innobase/row/row0mysql.cc
@@ -1522,7 +1522,7 @@ error_exit:
srv_stats.n_rows_inserted.inc(size_t(trx->id));
}
- /* Not protected by dict_table_stats_lock() for performance
+ /* Not protected by dict_sys->mutex for performance
reasons, we would rather get garbage in stat_n_rows (which is
just an estimate anyway) than protecting the following code
with a latch. */
@@ -1892,7 +1892,7 @@ row_update_for_mysql(row_prebuilt_t* prebuilt)
ut_ad(is_delete == (node->is_delete == PLAIN_DELETE));
if (is_delete) {
- /* Not protected by dict_table_stats_lock() for performance
+ /* Not protected by dict_sys->mutex for performance
reasons, we would rather get garbage in stat_n_rows (which is
just an estimate anyway) than protecting the following code
with a latch. */
@@ -2244,7 +2244,7 @@ row_update_cascade_for_mysql(
if (node->is_delete == PLAIN_DELETE) {
/* Not protected by
- dict_table_stats_lock() for
+ dict_sys->mutex for
performance reasons, we would rather
get garbage in stat_n_rows (which is
just an estimate anyway) than