You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2017/02/09 10:30:43 UTC

ignite git commit: IGNITE-4363: Fix QueryEntity field order for attribute-based config

Repository: ignite
Updated Branches:
  refs/heads/ignite-2.0 d01406f26 -> 9ce099c05


IGNITE-4363: Fix QueryEntity field order for attribute-based config


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

Branch: refs/heads/ignite-2.0
Commit: 9ce099c05f4b672fd4ce95173342335402f63039
Parents: d01406f
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Thu Feb 9 13:29:40 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Thu Feb 9 13:29:40 2017 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/9ce099c0/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs
index ff9af37..2cd0295 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs
@@ -283,7 +283,7 @@ namespace Apache.Ignite.Core.Cache.Configuration
                 ScanAttributes(valType, fields, indexes, null, new HashSet<Type>(), false);
 
             if (fields.Any())
-                Fields = fields;
+                Fields = fields.OrderBy(x => x.Name).ToList();
 
             if (indexes.Any())
                 Indexes = GetGroupIndexes(indexes).ToArray();