ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject incubator-ignite git commit: # ignite-32 Minor fix in benchmark for store.
Date Fri, 06 Feb 2015 07:05:42 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/sprint-1 edf206146 -> 3294c60f8


# ignite-32 Minor fix in benchmark for store.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/3294c60f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/3294c60f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/3294c60f

Branch: refs/heads/sprint-1
Commit: 3294c60f8dcc136245675a3ecfbbb845af3d5245
Parents: edf2061
Author: anovikov <anovikov@gridgain.com>
Authored: Fri Feb 6 14:05:34 2015 +0700
Committer: anovikov <anovikov@gridgain.com>
Committed: Fri Feb 6 14:05:34 2015 +0700

----------------------------------------------------------------------
 .../cache/store/jdbc/IgniteJdbcStoreAbstractBenchmark.java    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3294c60f/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/store/jdbc/IgniteJdbcStoreAbstractBenchmark.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/store/jdbc/IgniteJdbcStoreAbstractBenchmark.java
b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/store/jdbc/IgniteJdbcStoreAbstractBenchmark.java
index 261302b..a521afb 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/store/jdbc/IgniteJdbcStoreAbstractBenchmark.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/cache/store/jdbc/IgniteJdbcStoreAbstractBenchmark.java
@@ -69,7 +69,12 @@ public abstract class IgniteJdbcStoreAbstractBenchmark extends IgniteAbstractBen
                 // No-op.
             }
 
-            stmt.executeUpdate("CREATE TABLE IF NOT EXISTS SAMPLE (id integer not null, value
integer, PRIMARY KEY(id))");
+            try {
+                stmt.executeUpdate("CREATE TABLE SAMPLE (id integer not null, value integer,
PRIMARY KEY(id))");
+            }
+            catch (SQLException ignore) {
+                // No-op.
+            }
 
             conn.commit();
 


Mime
View raw message