Repository: ignite
Updated Branches:
  refs/heads/master 9bba2d520 -> 3dc1fcdaf


IGNITE-7465 .NET: Fix SqlDdlExample failure with standalone node


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

Branch: refs/heads/master
Commit: 3dc1fcdaf1257a2a63c27dcb0e18d32495734cd3
Parents: 9bba2d5
Author: Pavel Tupitsyn <[email protected]>
Authored: Thu Jan 18 15:55:49 2018 +0300
Committer: Pavel Tupitsyn <[email protected]>
Committed: Thu Jan 18 15:55:49 2018 +0300

----------------------------------------------------------------------
 .../dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3dc1fcda/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs 
b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs
index 3f72842..64d267d 100644
--- 
a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs
+++ 
b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Sql/SqlDdlExample.cs
@@ -53,7 +53,8 @@ namespace Apache.Ignite.Examples.Sql
                 // will appear in future versions, JDBC and ODBC drivers do 
not require it already).
                 var cacheCfg = new CacheConfiguration(DummyCacheName)
                 {
-                    SqlSchema = "PUBLIC"
+                    SqlSchema = "PUBLIC",
+                    CacheMode = CacheMode.Replicated
                 };
 
                 ICache<object, object> cache = ignite.GetOrCreateCache<object, 
object>(cacheCfg);

Reply via email to