ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [19/49] incubator-ignite git commit: # sprint-1 Fixed db usage in schema load tests.
Date Fri, 06 Feb 2015 13:17:46 GMT
# sprint-1 Fixed db usage in schema load tests.


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

Branch: refs/heads/ignite-164v2stable
Commit: effc5e03e94037b680ce796dc7b43398672f6fd3
Parents: f55d198
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Fri Feb 6 15:06:32 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Fri Feb 6 15:06:32 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/schema/load/AbstractSchemaLoaderTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/effc5e03/modules/schema-load/src/test/java/org/apache/ignite/schema/load/AbstractSchemaLoaderTest.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/test/java/org/apache/ignite/schema/load/AbstractSchemaLoaderTest.java
b/modules/schema-load/src/test/java/org/apache/ignite/schema/load/AbstractSchemaLoaderTest.java
index 1822b0e..f8a3719 100644
--- a/modules/schema-load/src/test/java/org/apache/ignite/schema/load/AbstractSchemaLoaderTest.java
+++ b/modules/schema-load/src/test/java/org/apache/ignite/schema/load/AbstractSchemaLoaderTest.java
@@ -57,7 +57,7 @@ public abstract class AbstractSchemaLoaderTest extends TestCase {
 
         Statement stmt = conn.createStatement();
 
-        stmt.executeUpdate("CREATE TABLE PRIMITIVES (pk INTEGER PRIMARY KEY, " +
+        stmt.executeUpdate("CREATE TABLE IF NOT EXISTS PRIMITIVES (pk INTEGER PRIMARY KEY,
" +
             " boolCol BOOLEAN NOT NULL," +
             " byteCol TINYINT NOT NULL," +
             " shortCol SMALLINT NOT NULL," +
@@ -73,7 +73,7 @@ public abstract class AbstractSchemaLoaderTest extends TestCase {
             " tsCol TIMESTAMP, " +
             " arrCol BINARY(10))");
 
-        stmt.executeUpdate("CREATE TABLE OBJECTS (pk INTEGER PRIMARY KEY, " +
+        stmt.executeUpdate("CREATE TABLE IF NOT EXISTS OBJECTS (pk INTEGER PRIMARY KEY, "
+
             " boolCol BOOLEAN," +
             " byteCol TINYINT," +
             " shortCol SMALLINT," +


Mime
View raw message