You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft SQL Server 2017 (RTM-CU13) (KB4466404) - 14.0.3048.4 (X64)
Nov 30 2018 12:57:58
Copyright (C) 2017 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 16.04.5 LTS)
Client operating system
Linux
PHP version
8.0.3
Microsoft ODBC Driver version
17.7.2.1
Problem description
PDO::lastInsertId($name) called on a server with a case-sensitive collation doesn't return the sequence value
Expected behavior and actual behavior
The API works regardless of the collation
Repro code or steps to reproduce
Run a SQL Server instance with a case-sensitive collation:
PHP Driver version or file name
pdo_sqlsrv
5.9.0SQL Server version
Microsoft SQL Server 2017 (RTM-CU13) (KB4466404) - 14.0.3048.4 (X64)
Nov 30 2018 12:57:58
Copyright (C) 2017 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 16.04.5 LTS)
Client operating system
Linux
PHP version
8.0.3
Microsoft ODBC Driver version
17.7.2.1
Problem description
PDO::lastInsertId($name)
called on a server with a case-sensitive collation doesn't return the sequence valueExpected behavior and actual behavior
The API works regardless of the collation
Repro code or steps to reproduce
Note that the sequence
test
doesn't exist at this point but it's irrelevant because the query executed within the driver is invalid.The text was updated successfully, but these errors were encountered: