ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [20/50] [abbrv] ignite git commit: IGNITE-4363: Fix QueryEntity field order for attribute-based config
Date Wed, 15 Feb 2017 10:44:45 GMT
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-3477-merge2.0
Commit: 9ce099c05f4b672fd4ce95173342335402f63039
Parents: d01406f
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Thu Feb 9 13:29:40 2017 +0300
Committer: Pavel Tupitsyn <ptupitsyn@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();


Mime
View raw message