mysql 2.9.0-x86-mingw32 → 2.9.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ === 2.9.1 / 2013-02-16 / Vacation time!
2
+
3
+ * Bugfixes:
4
+ * Use C89 comment style in source code. #13 [knu]
5
+ * Use ULL2NUM to return `affected_rows`. #11, #12 [cbandy]
6
+
1
7
  === 2.9.0 / 2012-11-17
2
8
 
3
9
  DEPRECATION: Ruby 1.8.6 is no longer supported. Do not update your production
@@ -445,7 +445,7 @@ static VALUE initialize(int argc, VALUE* argv, VALUE obj)
445
445
  /* affected_rows() */
446
446
  static VALUE affected_rows(VALUE obj)
447
447
  {
448
- return INT2NUM(mysql_affected_rows(GetHandler(obj)));
448
+ return ULL2NUM(mysql_affected_rows(GetHandler(obj)));
449
449
  }
450
450
 
451
451
  #if MYSQL_VERSION_ID >= 32303
@@ -1268,7 +1268,7 @@ static VALUE stmt_affected_rows(VALUE obj)
1268
1268
  my_ulonglong n;
1269
1269
  check_stmt_closed(obj);
1270
1270
  n = mysql_stmt_affected_rows(s->stmt);
1271
- return INT2NUM(n);
1271
+ return ULL2NUM(n);
1272
1272
  }
1273
1273
 
1274
1274
  #if 0
@@ -1890,7 +1890,7 @@ void Init_mysql_api(void)
1890
1890
  for (i = 0; lib[i] != 0 && MYSQL_SERVER_VERSION[i] != 0; i++) {
1891
1891
  if (lib[i] == '.') {
1892
1892
  dots++;
1893
- // we only compare MAJOR and MINOR
1893
+ /* we only compare MAJOR and MINOR */
1894
1894
  if (dots == 2) break;
1895
1895
  }
1896
1896
  if (lib[i] != MYSQL_SERVER_VERSION[i]) {
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  # define version string to be used internally for the Gem by Hoe.
2
2
  class Mysql
3
3
  module GemVersion
4
- VERSION = '2.9.0'
4
+ VERSION = '2.9.1'
5
5
  end
6
6
  end
@@ -342,7 +342,7 @@ class TC_MysqlRes < Test::Unit::TestCase
342
342
  assert_equal("t", f.table)
343
343
  assert_equal(nil, f.def)
344
344
  assert_equal(Mysql::Field::TYPE_STRING, f.type)
345
- assert_equal(10, f.length)
345
+ assert_equal(30, f.length)
346
346
  assert_equal(4, f.max_length)
347
347
  assert_equal(0, f.flags)
348
348
  assert_equal(0, f.decimals)
@@ -399,7 +399,7 @@ class TC_MysqlRes < Test::Unit::TestCase
399
399
  "table" => "t",
400
400
  "def" => nil,
401
401
  "type" => Mysql::Field::TYPE_STRING,
402
- "length" => 10,
402
+ "length" => 30,
403
403
  "max_length" => 4,
404
404
  "flags" => 0,
405
405
  "decimals" => 0,
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 9
9
- - 0
10
- version: 2.9.0
9
+ - 1
10
+ version: 2.9.1
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - TOMITA Masahiro
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-17 00:00:00 Z
18
+ date: 2013-02-16 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rdoc
@@ -56,11 +56,11 @@ dependencies:
56
56
  requirements:
57
57
  - - ~>
58
58
  - !ruby/object:Gem::Version
59
- hash: 5
59
+ hash: 13
60
60
  segments:
61
61
  - 3
62
- - 1
63
- version: "3.1"
62
+ - 5
63
+ version: "3.5"
64
64
  type: :development
65
65
  version_requirements: *id003
66
66
  description: |-