Skip to content

Commit

Permalink
RavenDB-20925 fixing compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ppekrol committed Nov 13, 2024
1 parent 60d08c6 commit ca050d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ public PropertyItem Current
var property = _enumerable.Current;
var propertyAsString = property.Key.AsString();

CompiledIndexField field = null;
var isGroupByField = _groupByFields?.TryGetValue(propertyAsString, out field) ?? false;
CompiledIndexField f = null;
var isGroupByField = _groupByFields?.TryGetValue(propertyAsString, out f) ?? false;

return new PropertyItem(propertyAsString, GetValue(property.Value.Value), field, isGroupByField);
return new PropertyItem(propertyAsString, GetValue(property.Value.Value), f, isGroupByField);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ internal static class RavenLogManagerServerExtensions
}
};

#if !RVN
static RavenLogManagerServerExtensions()
{
PipeRule.SetLoggingLevels(LogLevel.Trace, LogLevel.Fatal);
AdminLogsRule.SetLoggingLevels(LogLevel.Trace, LogLevel.Fatal);
}

#if !RVN
private static readonly ConcurrentDictionary<string, RavenAuditLogger> AuditLoggers = new(StringComparer.OrdinalIgnoreCase);
#endif

Expand Down

0 comments on commit ca050d2

Please sign in to comment.