summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-04-12 22:11:22 +0200
committerSergei Golubchik <serg@mariadb.org>2020-04-12 22:11:22 +0200
commit91e79dff54c00bc46c66c8e0fb73da8552e047d9 (patch)
tree98261b002ea118afb7d2720eef7365eefa1d1802 /sql/sql_insert.cc
parentfcd84da5f112b84bec05db5ea59660e59cd2204b (diff)
downloadmariadb-git-91e79dff54c00bc46c66c8e0fb73da8552e047d9.tar.gz
cleanup: comments
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index e99a5804952..2a2b74405f3 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1996,8 +1996,6 @@ int write_record(THD *thd, TABLE *table, COPY_INFO *info, select_result *sink)
tables which have ON UPDATE but have no ON DELETE triggers,
we just should not expose this fact to users by invoking
ON UPDATE triggers.
- For system versioning wa also use path through delete since we would
- save nothing through this cheating.
*/
if (last_uniq_key(table,key_nr) &&
!table->file->referenced_by_foreign_key() &&