[Firebird-net-provider] [FB-Tracker] Created: (DNET-1043) Async operations executed with cancelled CancellationToken

2021-04-20 Thread mace windu (JIRA)
Async operations executed with cancelled CancellationToken
--

 Key: DNET-1043
 URL: http://tracker.firebirdsql.org/browse/DNET-1043
 Project: .NET Data provider
  Issue Type: Bug
  Components: ADO.NET Provider
Affects Versions: 8.0.1.0
Reporter: mace windu
Assignee: Jiri Cincura


After update to recent provider version (8.0.1.0) which introduce async 
operations support, several of our tests, that check proper handling of 
cancelled token started to fail as they expect OperationCanceledException, but 
instead of it operation succedded (similar issue we recently reported for 
npgsql 5 release https://github.com/npgsql/npgsql/issues/3379, so you can use 
sample code from there and replace npgsql types with fb types).

I have no list of all affected async operations, but at least 
ExecuteNonQueryAsync is not failing as it is expected.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


[Firebird-net-provider] [FB-Tracker] Created: (DNET-990) [Firebird 4] Numeric/Decimal support with 19-38 precision

2020-12-14 Thread mace windu (JIRA)
[Firebird 4] Numeric/Decimal support with 19-38 precision
-

 Key: DNET-990
 URL: http://tracker.firebirdsql.org/browse/DNET-990
 Project: .NET Data provider
  Issue Type: Bug
  Components: ADO.NET Provider
Affects Versions: 7.10.1.0, 7.10.0.0
 Environment: Firebird 4.0 beta 2
Reporter: mace windu
Assignee: Jiri Cincura


Looks like support  for increased precision for numeric/decimal types in 
Firebird 4 is currently missing as quering data of such type results in 
exception.

ArgumentOutOfRangeException: 'type=32752 ' (or 32753 when reading from table 
column)
   at FirebirdSql.Data.Client.Managed.XdrReaderWriter.ReadDecimal(Int32 type, 
Int32 scale)


using (var cn = new FbConnection("..."))
{
  cn.Open();
  using (var cmd = cn.CreateCommand())
  {
cmd.CommandText = "SELECT CAST(1 AS NUMERIC(19)) FROM RDB$DATABASE";
using (var rd = cmd.ExecuteReader())
{
  while (rd.Read())
  { }
}
  }
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider