summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-01-03 22:43:41 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-01-03 22:43:41 +0200
commit1a1bda2222e0c2ab41baed1510f6fbca80c20d31 (patch)
tree94cfdf6c04ecfe742c0a1168a9d0bf8130d145dc
parent3fcbeb4a63fb83fce2e179ec684328504a9b8e44 (diff)
downloadmariadb-git-1a1bda2222e0c2ab41baed1510f6fbca80c20d31.tar.gz
Do not misspell "fall through"
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 7f65a2727f9..d884947390a 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -3406,7 +3406,7 @@ static size_t calc_field_event_length(const uchar *ptr, uint type, uint meta)
case MYSQL_TYPE_VARCHAR:
case MYSQL_TYPE_VAR_STRING:
length= meta;
- /* Fall trough */
+ /* fall through */
case MYSQL_TYPE_STRING:
if (length < 256)
return (uint) *ptr + 1;