fluent-plugin-mysql-2 0.3.7 → 0.3.8

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: b08ae8a41a2889d1785aec8b5441392ffbcd249e5c38d78e257dd27e64465d2b
4
- data.tar.gz: 6853750e68fffe251f60737fc2f8773201d976faafa71d13db0b9cec6eee87e2
3
+ metadata.gz: 0b4e493ba73cd721faa9d9d40ce94fda40799a1a7027ad0fb0a78d55b3586cf6
4
+ data.tar.gz: fbf5b2755cf8708a4d4443da540953fd6a56d1b6b0b2ec8b420a122efd040e99
5
5
  SHA512:
6
- metadata.gz: 68c4733f8c8ac2f1f585f09316c911611722f7b7c9486f658de414f04dc4be35a0bf17a6574048aa4334d58285c7f707a466680f421a9206ee9e54f4f9165818
7
- data.tar.gz: 928424531e1218fc9be1c001d65faabc8d2fff84c3694b9fe9b35a4fce803682af344390c579b3016f41a2c5cb2edee6319e688439bf277c6f482a355da56691
6
+ metadata.gz: 78d8d32d4fcc172fa5dd93e0f012c8d5721b405a087827182c157064501b3443098ad8d0a787b5712a13132681073e3f037cefa440ea843458ba87ec6215bf2f
7
+ data.tar.gz: ab8289f8c3ee976b88123dcd117905a8ce97ff76f6365f536d791fdded201598490f99323722dca6bd5edfff81e0e2ebc009db62aebbd71d33204df5d175c63e
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-mysql-2"
4
- gem.version = "0.3.7"
4
+ gem.version = "0.3.8"
5
5
  gem.authors = ["TAGOMORI Satoshi", "Toyama Hiroshi", "Alex Scarborough"]
6
6
  gem.email = ["tagomoris@gmail.com", "toyama0919@gmail.com", "alex@teak.io"]
7
7
  gem.description = %q{fluent plugin to insert mysql as json(single column) or insert statement}
@@ -180,7 +180,7 @@ DESC
180
180
  @handler.query("SET SESSION TRANSACTION ISOLATION LEVEL #{transaction_isolation_level}") if @transaction_isolation_level
181
181
  slice_size = @max_rows_per_insert > 0 ? @max_rows_per_insert : values.length
182
182
  values.each_slice(slice_size) do |slice|
183
- sql = "INSERT #{@insert_ignore ? "IGNORE" : ""} INTO #{table} (#{@insert_columns}) VALUES #{values.join(',')}"
183
+ sql = "INSERT #{@insert_ignore ? "IGNORE" : ""} INTO #{table} (#{@insert_columns}) VALUES #{slice.join(',')}"
184
184
  sql += @on_duplicate_key_update_sql if @on_duplicate_key_update
185
185
 
186
186
  @handler.xquery(sql)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mysql-2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-07-01 00:00:00.000000000 Z
13
+ date: 2022-07-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fluentd