summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;