Skip to content

Commit

Permalink
Fix xlsb column filter off-by-one.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkPflug committed Nov 14, 2023
1 parent 3db441d commit 7c46b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Sylvan.Data.Excel/Xlsb/XlsbDataWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ async Task<WriteResult> WriteInternal(DbDataReader data, string? worksheetName,
bw.Write(0);
bw.Write(0);
bw.Write(0);
bw.Write(fieldCount);
bw.Write(fieldCount - 1);
bw.WriteMarker(RecordType.FilterEnd);


Expand Down

0 comments on commit 7c46b33

Please sign in to comment.