From b072abc3f6b1dff91e2d321b83c364d47787216d Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Fri, 10 Dec 2021 07:28:18 +0800 Subject: [PATCH] Fix typos --- CHANGELOG.md | 14 +++++++------- lib/mariaex/coder.ex | 2 +- lib/mariaex/row_parser.ex | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c74e01..e69a9f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,7 +48,7 @@ # 0.8.0 * Enhancements - * add MDBPORT enviroment + * add MDBPORT environment * add streaming support * Backwards incompatible changes @@ -90,7 +90,7 @@ # 0.7.4 * Bug fixes - * make function for getting formated version more robust to different formats + * make function for getting formatted version more robust to different formats # 0.7.3 @@ -172,7 +172,7 @@ # 0.4.1 -* Enhancments +* Enhancements * decode values on client side * add possibility to do decoding later @@ -191,7 +191,7 @@ # 0.3.1 -* Enhancments +* Enhancements * add keepalive to connection, per default is disabled * Bug fixes @@ -218,7 +218,7 @@ # 0.2.0 -* Enhancments +* Enhancements * add caching and reusing of prepared statements * Backwards incompatible changes @@ -226,7 +226,7 @@ # 0.1.7 -* Enhancments +* Enhancements * initial implementation of stored procedures * add year, smallint and mediumint decoding * allow query command delimiter be \n @@ -239,7 +239,7 @@ # 0.1.5 -* Enhancments +* Enhancements * Allow add own :socket_options * Bug fixes diff --git a/lib/mariaex/coder.ex b/lib/mariaex/coder.ex index ba6154e..99119f0 100644 --- a/lib/mariaex/coder.ex +++ b/lib/mariaex/coder.ex @@ -197,7 +197,7 @@ defmodule Mariaex.Coder do defp match({key, _, [:string_eof]}, :encode) do [(quote do: unquote(Macro.var(key, nil)) :: binary)] end - # this clauses are wrong, because it is imposible to generate this kind of integer in a binary match + # this clauses are wrong, because it is impossible to generate this kind of integer in a binary match defp match({key, _, [:length_encoded_integer]}, :encode) do [(quote do: unquote(Macro.var(key, nil)) :: integer)] end diff --git a/lib/mariaex/row_parser.ex b/lib/mariaex/row_parser.ex index 91aab9a..eae5ad2 100644 --- a/lib/mariaex/row_parser.ex +++ b/lib/mariaex/row_parser.ex @@ -3,7 +3,7 @@ defmodule Mariaex.RowParser do Parse a row of the MySQL protocol This parser makes extensive use of binary pattern matching and recursion to take advantage - of Erlang's optimizer that will not create sub binaries when called recusively. + of Erlang's optimizer that will not create sub binaries when called recursively. """ use Bitwise alias Mariaex.Column