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 +4 -4
- data/fluent-plugin-mysql.gemspec +1 -1
- data/lib/fluent/plugin/out_mysql_bulk.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b4e493ba73cd721faa9d9d40ce94fda40799a1a7027ad0fb0a78d55b3586cf6
|
4
|
+
data.tar.gz: fbf5b2755cf8708a4d4443da540953fd6a56d1b6b0b2ec8b420a122efd040e99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d8d32d4fcc172fa5dd93e0f012c8d5721b405a087827182c157064501b3443098ad8d0a787b5712a13132681073e3f037cefa440ea843458ba87ec6215bf2f
|
7
|
+
data.tar.gz: ab8289f8c3ee976b88123dcd117905a8ce97ff76f6365f536d791fdded201598490f99323722dca6bd5edfff81e0e2ebc009db62aebbd71d33204df5d175c63e
|
data/fluent-plugin-mysql.gemspec
CHANGED
@@ -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.
|
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 #{
|
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.
|
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-
|
13
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fluentd
|