Repository: ignite Updated Branches: refs/heads/ignite-2.4 cf0080210 -> dd06d0bd7
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/dd06d0bd Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/dd06d0bd Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/dd06d0bd Branch: refs/heads/ignite-2.4 Commit: dd06d0bd7ef266bfbe156e858b312d1ac86e8982 Parents: cf00802 Author: Pavel Tupitsyn <[email protected]> Authored: Thu Jan 18 15:55:49 2018 +0300 Committer: Pavel Tupitsyn <[email protected]> Committed: Thu Jan 18 16:43:46 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/dd06d0bd/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);
