Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3054,7 +3054,7 @@ virtual public int GetSqlValues(object[] values)

for (int i = 0; i < copyLen; i++)
{
values[_metaData.GetVisibleColumnIndex(i)] = GetSqlValueInternal(i);
values[i] = GetSqlValueInternal(_metaData.GetVisibleColumnIndex(i));
}
return copyLen;
}
Expand Down Expand Up @@ -3500,7 +3500,7 @@ override public int GetValues(object[] values)
// If this is sequential access, then we need to wipe the internal buffer
if ((sequentialAccess) && (i < maximumColumn))
{
_data[i].Clear();
_data[fieldIndex].Clear();
if (fieldIndex > i && fieldIndex > 0)
{
// if we jumped an index forward because of a hidden column see if the buffer before the
Expand Down