embulk-output-mysql 0.7.13 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc3ab6f3a5bfb39779736584783e384b4decd8c8
4
- data.tar.gz: 2288573b82a2e38062a5315ac0e0035838af84b0
3
+ metadata.gz: 6da5ba42634421a68e79de5f9c753a76d8406786
4
+ data.tar.gz: 7f80247c0f4c5fa8b973d9dca3914151f90815e5
5
5
  SHA512:
6
- metadata.gz: fd5382b3fd1051adc59d959c5f0d1ad0b39e2f4801d32a1879942035ebf01a74e375f4b2e856722885d070e03389ba6fd440b86f16f115a51554d1a79aa83708
7
- data.tar.gz: 14f2a76d0917eb363a988eb7ee0384c302222d0a2eb71ac34435f89b488954c2aa20999cd1c03ea751bafc602d902628ff1bd533cd41dbc478bf3821e3a1523d
6
+ metadata.gz: be36e44971e9d805842958a0acd90f69cbde13c141df4e727aff2fcd05158452d463ebfe7d36ff476643e76a71f0793494dc694e1687083ea46892ef5e59955f
7
+ data.tar.gz: 2bbf372969dd29e6368d32da9c29db14322f9035c4291696853d7c8d6f7a75261dae5086b063a09efe5435fa53a57359eb00d8f22b127ec9d493affd86600d46
data/README.md CHANGED
@@ -10,7 +10,7 @@ MySQL output plugin for Embulk loads records to MySQL.
10
10
 
11
11
  ## Configuration
12
12
 
13
- - **driver_path**: path to the jar file of the MySQL JDBC driver. If not set, the bundled JDBC driver (MySQL Connector/J 5.1.34) will be used. (string)
13
+ - **driver_path**: path to the jar file of the MySQL JDBC driver. If not set, the bundled JDBC driver (MySQL Connector/J 5.1.44) will be used (string). NOTE: the bundled JDBC driver version was upgrade from 5.1.34 to 5.1.44 at embulk-output-mysql 0.8.0 . Please check release notes for MySQL Connector/J (https://dev.mysql.com/doc/relnotes/connector-j/5.1/en/news-5-1.html) .
14
14
  - **host**: database host name (string, required)
15
15
  - **port**: database port number (integer, default: 3306)
16
16
  - **user**: database login user name (string, required)
@@ -1,7 +1,7 @@
1
1
  dependencies {
2
2
  compile project(':embulk-output-jdbc')
3
- compile 'mysql:mysql-connector-java:5.1.34'
4
- defaultJdbcDriver 'mysql:mysql-connector-java:5.1.34'
3
+ compile 'mysql:mysql-connector-java:5.1.44'
4
+ defaultJdbcDriver 'mysql:mysql-connector-java:5.1.44'
5
5
 
6
6
  testCompile 'org.embulk:embulk-standards:0.8.22'
7
7
  }
@@ -119,8 +119,8 @@ public class MySQLOutputPlugin
119
119
  // TODO validate task.getMergeKeys is null
120
120
 
121
121
  props.setProperty("user", t.getUser());
122
- logger.info("Connecting to {} options {}", url, props);
123
122
  props.setProperty("password", t.getPassword());
123
+ logConnectionProperties(url, props);
124
124
 
125
125
  return new MySQLOutputConnector(url, props);
126
126
  }
@@ -119,20 +119,4 @@ public class MySQLOutputConnection
119
119
  timeZoneComparison.compareTimeZone();
120
120
  }
121
121
 
122
- //
123
- //
124
- // The MySQL Connector/J 5.1.35 introduce new option `Current MySQL Connect`.
125
- // It has incompatibility behavior current version and 5.1.35.
126
- //
127
- // This method announces users about this change before the update driver version.
128
- //
129
- @Override
130
- public void showDriverVersion() throws SQLException {
131
- super.showDriverVersion();
132
- logger.warn("This plugin will update MySQL Connector/J version in the near future release.");
133
- logger.warn("It has some incompatibility changes.");
134
- logger.warn("For example, the 5.1.35 introduced `noTimezoneConversionForDateType` and `cacheDefaultTimezone` options.");
135
- logger.warn("Please read a document and make sure configuration carefully before updating the plugin.");
136
- }
137
-
138
122
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.13
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-08 00:00:00.000000000 Z
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -19,9 +19,9 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - README.md
21
21
  - build.gradle
22
- - classpath/embulk-output-jdbc-0.7.13.jar
23
- - classpath/embulk-output-mysql-0.7.13.jar
24
- - default_jdbc_driver/mysql-connector-java-5.1.34.jar
22
+ - classpath/embulk-output-jdbc-0.8.0.jar
23
+ - classpath/embulk-output-mysql-0.8.0.jar
24
+ - default_jdbc_driver/mysql-connector-java-5.1.44.jar
25
25
  - lib/embulk/output/mysql.rb
26
26
  - src/main/java/org/embulk/output/MySQLOutputPlugin.java
27
27
  - src/main/java/org/embulk/output/MySQLTimeZoneComparison.java