Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtm committed Jun 18, 2022
1 parent accc8e7 commit d52f7ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [3.0.1] - 2022-06-18

- LICENSE: correct author
- FIX: correct LOAD DATA LOCAL INFILE result information.
- FIX: reset SERVER_MORE_RESULTS_EXISTS when error packet is received.
- FIX: close the socket when the connection is disconnected.
- FIX: allow multiple results by default.

## [3.0.0] - 2021-11-16

- `Mysql.new` no longer connect. use `Mysql.connect` or `Mysql#connect`.
Expand Down
2 changes: 1 addition & 1 deletion lib/mysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Mysql
require_relative "mysql/protocol"
require_relative "mysql/packet.rb"

VERSION = '3.0.0' # Version number of this library
VERSION = '3.0.1' # Version number of this library
MYSQL_UNIX_PORT = "/tmp/mysql.sock" # UNIX domain socket filename
MYSQL_TCP_PORT = 3306 # TCP socket port number

Expand Down
2 changes: 1 addition & 1 deletion test/test_mysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class TestMysql < Test::Unit::TestCase
sub_test_case 'Mysql::VERSION' do
test 'returns client version' do
assert{ Mysql::VERSION == '3.0.0' }
assert{ Mysql::VERSION == '3.0.1' }
end
end

Expand Down

0 comments on commit d52f7ca

Please sign in to comment.