Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# 0.8.0

* Enhancements
* add MDBPORT enviroment
* add MDBPORT environment
* add streaming support

* Backwards incompatible changes
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -172,7 +172,7 @@

# 0.4.1

* Enhancments
* Enhancements
* decode values on client side
* add possibility to do decoding later

Expand All @@ -191,7 +191,7 @@

# 0.3.1

* Enhancments
* Enhancements
* add keepalive to connection, per default is disabled

* Bug fixes
Expand All @@ -218,15 +218,15 @@

# 0.2.0

* Enhancments
* Enhancements
* add caching and reusing of prepared statements

* Backwards incompatible changes
* no more sanitizing input, the queris starting with whitespace and '\n' are no more valid queries

# 0.1.7

* Enhancments
* Enhancements
* initial implementation of stored procedures
* add year, smallint and mediumint decoding
* allow query command delimiter be \n
Expand All @@ -239,7 +239,7 @@

# 0.1.5

* Enhancments
* Enhancements
* Allow add own :socket_options

* Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion lib/mariaex/coder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/mariaex/row_parser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down