This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch mysql-style
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/mysql-style by this push:
new be262ad Fix compile.
be262ad is described below
commit be262adc473c5b61e195be046d6866e3ecab926c
Author: Wu Sheng <[email protected]>
AuthorDate: Fri Nov 23 15:33:07 2018 +0800
Fix compile.
---
.../oap/server/storage/plugin/jdbc/mysql/MySQLStorageProvider.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/jdbc/mysql/MySQLStorageProvider.java
b/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/jdbc/mysql/MySQLStorageProvider.java
index e37cf6c..36ff62d 100644
---
a/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/jdbc/mysql/MySQLStorageProvider.java
+++
b/oap-server/server-storage-plugin/storage-jdbc-hikaricp-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/jdbc/mysql/MySQLStorageProvider.java
@@ -126,7 +126,7 @@ public class MySQLStorageProvider extends ModuleProvider {
@Override public void start() throws ServiceNotProvidedException,
ModuleStartException {
try {
- h2Client.initialize();
+ h2Client.connect();
MySQLTableInstaller installer = new
MySQLTableInstaller(getManager());
installer.install(h2Client);
@@ -134,8 +134,6 @@ public class MySQLStorageProvider extends ModuleProvider {
new H2RegisterLockInstaller().install(h2Client);
} catch (StorageException e) {
throw new ModuleStartException(e.getMessage(), e);
- } catch (ClientException e) {
- throw new ModuleStartException(e.getMessage(), e);
}
}