Skip to content

Commit 478d805

Browse files
committed
Release 0.31.3.
1 parent 8debdef commit 478d805

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/content/overview/version-history.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ weight: 30
1111
Version History
1212
===============
1313

14+
### 0.31.3
15+
16+
* Fix return value of `ExecuteScalar` to be the first column from the first row of the first result set.
17+
* Fix return value of `ExecuteNonQuery` to correctly return -1 for `SELECT` statements.
18+
* Fix bug where `NextResult` returns `true` for a trailing comment in a SQL statement.
19+
* **Breaking** Throw `InvalidOperationException` if `MySqlCommand.CommandText` is set while the command is active.
20+
* **Breaking** Throw `InvalidOperationException` (instead of `MySqlException`) if a `MySqlCommand` is executed while there is an open reader.
21+
* **Breaking** Throw `InvalidOperationException` from `MySqlCommand.Prepare` when preconditions aren't met.
22+
1423
### 0.31.2
1524

1625
* **Breaking** Throw `InvalidOperationException` when `MySqlCommand.Connection` can't be set (instead of `MySqlException`).

src/MySqlConnector/MySqlConnector.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Description>A truly async MySQL ADO.NET provider, supporting MySQL Server, MariaDB, Percona Server, Amazon Aurora, Azure Database for MySQL and more.</Description>
66
<Copyright>Copyright 2016–2017 Bradley Grainger</Copyright>
77
<AssemblyTitle>Async MySQL Connector</AssemblyTitle>
8-
<VersionPrefix>0.31.2</VersionPrefix>
8+
<VersionPrefix>0.31.3</VersionPrefix>
99
<SignAssembly>true</SignAssembly>
1010
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
1111
<AssemblyOriginatorKeyFile>..\..\MySqlConnector.snk</AssemblyOriginatorKeyFile>

0 commit comments

Comments
 (0)