FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 63 forks source link

Upgraded from ver 8.5.4 to 9.x.x and now FbDataReader.Close throws exception 'Object reference not set to an instance of an object.' #1085

Closed Bubak closed 1 year ago

Bubak commented 1 year ago

at FirebirdSql.Data.Logging.LogMessages.TransactionCommitted The last message in the log is 'Committing transaction'. Any simple select with the implicit transaction. FbLogLevel.Trace I need SQL in the log so I can use Trace or Debug level but both levels try to log transaction actions too.

cincuranet commented 1 year ago

Provide a test case.

Bubak commented 1 year ago

https://github.com/Bubak/FbTransactionLoggingTest

app creates log file in exe directory

in Program.cs at line 9 replace CONNECTION STRING at line 12 replace COMMAND TEXT

Exception at line 18

cincuranet commented 1 year ago

Duplicate of #1072.