зеркало из https://github.com/microsoft/msphpsql.git
Yet another alternative for driver name
This commit is contained in:
Родитель
2759a1f314
Коммит
24153e50f2
|
@ -32,7 +32,7 @@ PDO::ATTR_ERRMODE: int\(0\)
|
|||
PDO::ATTR_ERRMODE: int\(2\)
|
||||
Array
|
||||
\(
|
||||
\[DriverDllName\]|\[DriverName\] => msodbcsql[0-9]{2}\.dll|libmsodbcsql-[0-9]{2}\.[0-9]\.so\.[0-9]\.[0-9](.dylib)?
|
||||
\[DriverDllName\]|\[DriverName\] => (msodbcsql[0-9]{2}\.dll|(libmsodbcsql-[0-9]{2}\.[0-9]\.so\.[0-9]\.[0-9]|libmsodbcsql.[0-9]{2}.dylib))
|
||||
\[DriverODBCVer\] => [0-9]{1,2}\.[0-9]{1,2}
|
||||
\[DriverVer\] => [0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}
|
||||
\[ExtensionVer\] => [0-9].[0-9]\.[0-9](-(RC[0-9]?|preview))?(\.[0-9]+)?(\+[0-9]+)?
|
||||
|
|
|
@ -29,7 +29,7 @@ else
|
|||
sqlsrv_close( $conn);
|
||||
?>
|
||||
--EXPECTREGEX--
|
||||
DriverDllName|DriverName: msodbcsql[0-9]{2}\.dll|libmsodbcsql-[0-9]{2}\.[0-9]\.so\.[0-9]\.[0-9](.dylib)?
|
||||
DriverDllName|DriverName: (msodbcsql[0-9]{2}\.dll|(libmsodbcsql-[0-9]{2}\.[0-9]\.so\.[0-9]\.[0-9]|libmsodbcsql.[0-9]{2}.dylib))
|
||||
DriverODBCVer: [0-9]{1,2}\.[0-9]{1,2}
|
||||
DriverVer: [0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}
|
||||
ExtensionVer: [0-9].[0-9]\.[0-9](-(RC[0-9]?|preview))?(\.[0-9]+)?(\+[0-9]+)?
|
Загрузка…
Ссылка в новой задаче