summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Long <mailthelong@gmail.com>2019-08-17 12:59:16 -0400
committerAnel Husakovic <anel@mariadb.org>2019-08-21 02:52:41 -0700
commit4e89fdb9d8e88607c0992bc2d049010344c0cb3b (patch)
tree9689a90431672fcd37ed68cc868e8a8b470feffe
parente746f451d57def4be679caafc29976741b3e89f7 (diff)
downloadmariadb-git-4e89fdb9d8e88607c0992bc2d049010344c0cb3b.tar.gz
MDEV-19837 and MDEV-19816: Change some comments
-rw-r--r--sql/item.h2
-rw-r--r--sql/sql_insert.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.h b/sql/item.h
index 6dc99970914..26bf8b91053 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -606,7 +606,7 @@ public:
/* Cache of the result of is_expensive(). */
int8 is_expensive_cache;
- /* Reuse size, only used by SP local variable assignment, otherwize 0 */
+ /* Reuse size, only used by SP local variable assignment, otherwise 0 */
uint rsize;
/*
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index ddf9bd155a9..075e37042f4 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1881,7 +1881,7 @@ before_trg_err:
/******************************************************************************
- Check that all fields with arn't null_fields are used
+ Check that there aren't any null_fields
******************************************************************************/
int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,