mysql2-replication 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2805f25b5d6a9bdf08e003754868e51ccb0211937ec26680815441fd17e77d8e
4
- data.tar.gz: 7b0c0ab16dc3f3345214b74507027d6771ff528b2a9610019364e4fe3ed12a98
3
+ metadata.gz: dae33ecb6c6b2ecfade5316344529e995ef41efefbf22791cef85b07c14253f6
4
+ data.tar.gz: 9407c34a9d180cb06ee7e22072db0f4727213ef96e5134f6c47c7e2c7aef48d2
5
5
  SHA512:
6
- metadata.gz: 69dbbec50472c2b9a6389d1087673cde4a6985e5142ecc4b89077cefede1ebb99365efc7d864900c5c2d99caf94e7d59f2e4fb8809539e60678d89717730fa50
7
- data.tar.gz: d79eff1a9e767902b2204a81f0c708be685ab1dd13498e5b61d8282378cdae980a0d885e7fd2698856b5264f561c54aaff45fc64c04f23e47bad1351272ee289
6
+ metadata.gz: c991529269be9df8fb90d312ff644eb069103dc80538c5c5f0484a04d9bfd12b8218e164e48aff82011646a2bd3a9a1f827050211277d676ff3cb0c8095775c1
7
+ data.tar.gz: 6c56fc58282cff73dc930f791945bdf23d872df53e70b3b655c0e7dbb78a0c89823d8105438856aee8d642f10b793599932a26b60100fdf19824fffd60d65cf2
@@ -505,12 +505,12 @@ rbm2_column_parse(VALUE rb_column, const uint8_t **row_data)
505
505
  rb_value = rb_funcall(rb_cTime,
506
506
  rb_intern("utc"),
507
507
  6,
508
- RB_UINT2NUM((raw_time / (10 * 10))),
509
- RB_UINT2NUM((raw_time % (10 * 10)) / (10 * 8)),
510
- RB_UINT2NUM((raw_time % (10 * 8)) / (10 * 6)),
511
- RB_UINT2NUM((raw_time % (10 * 6)) / (10 * 4)),
512
- RB_UINT2NUM((raw_time % (10 * 4)) / (10 * 2)),
513
- RB_UINT2NUM((raw_time % (10 * 2))));
508
+ RB_UINT2NUM((raw_time / 10000000000)),
509
+ RB_UINT2NUM((raw_time % 10000000000) / 100000000),
510
+ RB_UINT2NUM((raw_time % 100000000) / 1000000),
511
+ RB_UINT2NUM((raw_time % 1000000) / 10000),
512
+ RB_UINT2NUM((raw_time % 10000) / 100),
513
+ RB_UINT2NUM((raw_time % 100)));
514
514
  (*row_data) += 8;
515
515
  }
516
516
  break;
@@ -1,3 +1,3 @@
1
1
  module Mysql2Replication
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2-replication
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutou Kouhei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.3.0.dev
93
+ rubygems_version: 3.4.0.dev
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: mysql2-replication is an extension of [mysql2 gem](https://rubygems.org/gems/mysql2).