Skip to content

Commit d547c25

Browse files
fix test
1 parent b5ab595 commit d547c25

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Ydb.Sdk/src/Ado/YdbDataReader.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,7 @@ public override int GetValues(object[] values)
465465
return count;
466466
}
467467

468-
public override bool IsDBNull(int ordinal)
469-
{
470-
var type = GetColumnType(ordinal);
471-
472-
return (type.IsOptional() && CurrentRow[ordinal].IsNull()) || type.IsNull();
473-
}
468+
public override bool IsDBNull(int ordinal) => CurrentRow[ordinal].IsNull();
474469

475470
public override int FieldCount => ReaderMetadata.FieldCount;
476471
public override object this[int ordinal] => GetValue(ordinal);

0 commit comments

Comments
 (0)