Skip to content

Commit 9d0c913

Browse files
committed
fix build
1 parent 43c8403 commit 9d0c913

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

DataSource.DataProviders.SQLite/SQLiteDataProvider/SQLiteDataSourcePage.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ public class SQLiteDataSourcePage
3232
IList _actualData;
3333
private IDataSourceSchema _schema;
3434
private int _pageIndex;
35+
private IGroupInformation[] _groupInformation;
3536

36-
internal SQLiteDataSourcePage(SQLiteDataSourceQueryResult sourceData, IDataSourceSchema schema, int pageIndex)
37+
internal SQLiteDataSourcePage(SQLiteDataSourceQueryResult sourceData, IDataSourceSchema schema, IGroupInformation[] groupInformation, int pageIndex)
3738
{
3839
if (sourceData == null)
3940
{
@@ -45,6 +46,7 @@ internal SQLiteDataSourcePage(SQLiteDataSourceQueryResult sourceData, IDataSourc
4546
}
4647
_schema = schema;
4748
_pageIndex = pageIndex;
49+
_groupInformation = groupInformation;
4850
}
4951

5052
/// <summary>
@@ -115,5 +117,14 @@ public IDataSourceSchema Schema()
115117
{
116118
return _schema;
117119
}
120+
121+
/// <summary>
122+
/// Information about group boundaries, if available. Not required if unchanged or not yet available.
123+
/// </summary>
124+
/// <returns>An array of information about the group boundaries, in order, if available, otherwise null.</returns>
125+
public IGroupInformation[] GetGroupInformation()
126+
{
127+
return _groupInformation;
128+
}
118129
}
119130
}

DataSource.DataProviders.SQLite/SQLiteDataProvider/SQLiteVirtualDataSourceDataProviderWorker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ protected override void ProcessCompletedTask(AsyncDataSourcePageTaskHolder compl
220220

221221
if (result != null)
222222
{
223-
page = new SQLiteDataSourcePage(result, schema, pageIndex);
223+
page = new SQLiteDataSourcePage(result, schema, null, pageIndex);
224224
lock (SyncLock)
225225
{
226226
if (!IsLastPage(pageIndex) && page.Count() > 0 && !PopulatedActualPageSize)
@@ -232,7 +232,7 @@ protected override void ProcessCompletedTask(AsyncDataSourcePageTaskHolder compl
232232
}
233233
else
234234
{
235-
page = new SQLiteDataSourcePage(null, schema, pageIndex);
235+
page = new SQLiteDataSourcePage(null, schema, null, pageIndex);
236236
}
237237

238238
if (PageLoaded != null)

0 commit comments

Comments
 (0)