summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2020-05-06 18:14:26 +0200
committerAnel Husakovic <anel@mariadb.org>2020-05-06 18:15:32 +0200
commitf7ba675555e84f51a017c348686079a9f4ba954b (patch)
tree58bdeb8f0ae7921b61d82def44851a2e8b704aaf
parent1af74d523a70622e8abb528d4fd991d72b90c887 (diff)
downloadmariadb-git-f7ba675555e84f51a017c348686079a9f4ba954b.tar.gz
MDEV-22344: Fix typos in comments
-rw-r--r--mysql-test/r/type_set.result2
-rw-r--r--mysql-test/t/type_set.test2
-rw-r--r--mysys/list.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/r/type_set.result b/mysql-test/r/type_set.result
index 586c6345e00..289073a2ed0 100644
--- a/mysql-test/r/type_set.result
+++ b/mysql-test/r/type_set.result
@@ -108,7 +108,7 @@ End of 5.0 tests
# Start of 10.0 tests
#
#
-# MDEV-6950 Bad results with joins compating DATE and INT/ENUM/VARCHAR columns
+# MDEV-6950 Bad results with joins comparing DATE and INT/ENUM/VARCHAR columns
#
CREATE TABLE t1 (c1 DATE PRIMARY KEY);
INSERT INTO t1 VALUES ('2001-01-01');
diff --git a/mysql-test/t/type_set.test b/mysql-test/t/type_set.test
index 16e4f42301d..4bc5d8c4858 100644
--- a/mysql-test/t/type_set.test
+++ b/mysql-test/t/type_set.test
@@ -101,7 +101,7 @@ DROP TABLE t1;
--echo #
--echo #
---echo # MDEV-6950 Bad results with joins compating DATE and INT/ENUM/VARCHAR columns
+--echo # MDEV-6950 Bad results with joins comparing DATE and INT/ENUM/VARCHAR columns
--echo #
CREATE TABLE t1 (c1 DATE PRIMARY KEY);
diff --git a/mysys/list.c b/mysys/list.c
index 8f4c934f64e..380de83c031 100644
--- a/mysys/list.c
+++ b/mysys/list.c
@@ -14,7 +14,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
/*
- Code for handling dubble-linked lists in C
+ Code for handling doubly linked lists in C
*/
#include "mysys_priv.h"
@@ -22,7 +22,7 @@
- /* Add a element to start of list */
+ /* Add an element to start of list */
LIST *list_add(LIST *root, LIST *element)
{