summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-01-03 22:21:32 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-01-03 22:22:17 +0200
commitaf0ba43838b6d9592a464073719472c71289c7d6 (patch)
tree08a8de5d8bd1697f1b8bce9523ad850562f1a004
parentfcde91114db1a33dcb27338dae0ac6680844f190 (diff)
downloadmariadb-git-af0ba43838b6d9592a464073719472c71289c7d6.tar.gz
Do not misspell "fall through"
-rw-r--r--sql/sql_trigger.cc2
-rw-r--r--sql/table.cc1
2 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc
index 21a79967244..0d0f8c4c309 100644
--- a/sql/sql_trigger.cc
+++ b/sql/sql_trigger.cc
@@ -1595,7 +1595,7 @@ err_with_lex_cleanup:
thd->spcont= save_spcont;
thd->variables.sql_mode= save_sql_mode;
thd->reset_db(save_db.str, save_db.length);
- /* Fall trough to error */
+ /* Fall through to error */
}
}
diff --git a/sql/table.cc b/sql/table.cc
index ff8f590b1a6..33f408f958a 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -7419,7 +7419,6 @@ int TABLE::update_virtual_fields(handler *h, enum_vcol_update_mode update_mode)
swap_values= 1;
break;
case VCOL_UPDATE_FOR_DELETE:
- /* Fall trough */
case VCOL_UPDATE_FOR_WRITE:
update= bitmap_is_set(vcol_set, vf->field_index);
break;