-
Notifications
You must be signed in to change notification settings - Fork 448
Closed
Labels
Under InvestigationUsed for issues under investigationUsed for issues under investigation
Description
Driver version
11.2.1, main
SQL Server version
Microsoft SQL Server 2019 (RTM-CU8) (KB4577194) - 15.0.4073.23 (X64)
Sep 23 2020 16:03:08
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 18.04.5 LTS)
Client Operating System
Linux
Table schema
See #1960
Problem description
With enablePrepareOnFirstPreparedStatementCall=true.
When timeout happens, the update count in the BatchUpdateException is incorrect and doesn't reflect what actually happened.
Expected behavior
In the test, 5 statements are executed in a batch. The 4th one statement times out. The first three succeed, the last two fail. updateCount should reflect that.
Actual behavior
See the test in #1960
Metadata
Metadata
Assignees
Labels
Under InvestigationUsed for issues under investigationUsed for issues under investigation