ruby-mysql 2.9.9 → 2.9.10

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ruby-mysql might be problematic. Click here for more details.

@@ -20,7 +20,7 @@ class Mysql
20
20
  rescue LoadError
21
21
  end
22
22
 
23
- VERSION = 20909 # Version number of this library
23
+ VERSION = 20910 # Version number of this library
24
24
  MYSQL_UNIX_PORT = "/tmp/mysql.sock" # UNIX domain socket filename
25
25
  MYSQL_TCP_PORT = 3306 # TCP socket port number
26
26
 
@@ -11,7 +11,7 @@ class Mysql
11
11
 
12
12
  # convert String to LengthCodedString
13
13
  def self.lcs(str)
14
- str = Charset.to_binary str
14
+ str = Charset.to_binary str.dup
15
15
  lcb(str.length)+str
16
16
  end
17
17
 
@@ -13,7 +13,7 @@ MYSQL_SOCKET = ENV['MYSQL_SOCKET']
13
13
 
14
14
  describe 'Mysql::VERSION' do
15
15
  it 'returns client version' do
16
- Mysql::VERSION.should == 20909
16
+ Mysql::VERSION.should == 20910
17
17
  end
18
18
  end
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.9
4
+ version: 2.9.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-17 00:00:00.000000000 Z
12
+ date: 2012-07-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This is MySQL connector. pure Ruby version
15
15
  email: tommy@tmtm.org