Skip to content

Commit 9b72174

Browse files
dev: update CHANGELOG.md (#260)
1 parent 884066c commit 9b72174

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
* Changed InvalidCastException to InvalidOperationException in YdbParameter.
2+
* Added specification tests: YdbCommandTests and YdbParameterTests.
3+
* YdbConnection.Database returns string.Empty if ConnectionStringBuilder is null.
4+
* Propagated cancellationToken in Execute[.*]Async methods.
5+
* When YdbCommand has an open data reader, it throws InvalidOperationException on the setters: CommandText, DbConnection.
6+
* Added checkers to YdbCommand.Prepare().
7+
* CommandText getter doesn't throw an exception if the CommandText property has not been initialized.
8+
19
## v0.11.0
210
* Fix bug: GetValue(int ordinal) return DBNull.Value if fetched NULL value.
311
* Fix: NextResult() moves to the next result and skip the first ResultSet.

src/Ydb.Sdk/src/Ado/YdbCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public override string CommandText
8787
[param: AllowNull]
8888
set
8989
{
90-
if (_ydbConnection?.LastReader?.IsOpen ?? false)
90+
if (_ydbConnection?.IsBusy ?? false)
9191
{
9292
throw new InvalidOperationException("An open data reader exists for this command");
9393
}

0 commit comments

Comments
 (0)