diff options
| author | Remi Collet <remi@remirepo.net> | 2026-01-31 07:52:57 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-01-31 07:52:57 +0100 |
| commit | 93c14c7dfe535b4cbe9b37b590e409314a8c6ebe (patch) | |
| tree | f8f54710d4336b1619f7636f1cd429a38c5cf575 | |
| parent | df9bd6d842e093e9abb57c86ee6cdcf7aee9f9e9 (diff) | |
| -rw-r--r-- | PHPINFO | 2 | ||||
| -rw-r--r-- | REFLECTION | 154 | ||||
| -rw-r--r-- | php-sqlsrv.spec | 17 |
3 files changed, 91 insertions, 82 deletions
@@ -2,7 +2,7 @@ sqlsrv sqlsrv support => enabled -ExtensionVer => 5.12.0 +ExtensionVer => 5.13.0-beta1 Directive => Local Value => Master Value sqlsrv.WarningsReturnAsErrors => On => On @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #81 sqlsrv version 5.12.0 ] { +Extension [ <persistent> extension #117 sqlsrv version 5.13.0-beta1 ] { - INI { Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ] @@ -19,82 +19,82 @@ Extension [ <persistent> extension #81 sqlsrv version 5.12.0 ] { } - Constants [76] { - Constant [ int SQLSRV_ERR_ERRORS ] { 0 } - Constant [ int SQLSRV_ERR_WARNINGS ] { 1 } - Constant [ int SQLSRV_ERR_ALL ] { 2 } - Constant [ int SQLSRV_LOG_SYSTEM_OFF ] { 0 } - Constant [ int SQLSRV_LOG_SYSTEM_INIT ] { 1 } - Constant [ int SQLSRV_LOG_SYSTEM_CONN ] { 2 } - Constant [ int SQLSRV_LOG_SYSTEM_STMT ] { 4 } - Constant [ int SQLSRV_LOG_SYSTEM_UTIL ] { 8 } - Constant [ int SQLSRV_LOG_SYSTEM_ALL ] { -1 } - Constant [ int SQLSRV_LOG_SEVERITY_ERROR ] { 1 } - Constant [ int SQLSRV_LOG_SEVERITY_WARNING ] { 2 } - Constant [ int SQLSRV_LOG_SEVERITY_NOTICE ] { 4 } - Constant [ int SQLSRV_LOG_SEVERITY_ALL ] { -1 } - Constant [ int SQLSRV_FETCH_NUMERIC ] { 1 } - Constant [ int SQLSRV_FETCH_ASSOC ] { 2 } - Constant [ int SQLSRV_FETCH_BOTH ] { 3 } - Constant [ int SQLSRV_PHPTYPE_NULL ] { 1 } - Constant [ int SQLSRV_PHPTYPE_INT ] { 2 } - Constant [ int SQLSRV_PHPTYPE_FLOAT ] { 3 } - Constant [ int SQLSRV_PHPTYPE_DATETIME ] { 5 } - Constant [ int SQLSRV_PHPTYPE_TABLE ] { 7 } - Constant [ string SQLSRV_ENC_BINARY ] { binary } - Constant [ string SQLSRV_ENC_CHAR ] { char } - Constant [ int SQLSRV_NULLABLE_NO ] { 0 } - Constant [ int SQLSRV_NULLABLE_YES ] { 1 } - Constant [ int SQLSRV_NULLABLE_UNKNOWN ] { 2 } - Constant [ int SQLSRV_SQLTYPE_BIGINT ] { -5 } - Constant [ int SQLSRV_SQLTYPE_BIT ] { -7 } - Constant [ int SQLSRV_SQLTYPE_DATETIME ] { 25177693 } - Constant [ int SQLSRV_SQLTYPE_FLOAT ] { 6 } - Constant [ int SQLSRV_SQLTYPE_IMAGE ] { -4 } - Constant [ int SQLSRV_SQLTYPE_INT ] { 4 } - Constant [ int SQLSRV_SQLTYPE_MONEY ] { 33564163 } - Constant [ int SQLSRV_SQLTYPE_NTEXT ] { -10 } - Constant [ int SQLSRV_SQLTYPE_TEXT ] { -1 } - Constant [ int SQLSRV_SQLTYPE_REAL ] { 7 } - Constant [ int SQLSRV_SQLTYPE_SMALLDATETIME ] { 8285 } - Constant [ int SQLSRV_SQLTYPE_SMALLINT ] { 5 } - Constant [ int SQLSRV_SQLTYPE_SMALLMONEY ] { 33559555 } - Constant [ int SQLSRV_SQLTYPE_TIMESTAMP ] { 4606 } - Constant [ int SQLSRV_SQLTYPE_TINYINT ] { -6 } - Constant [ int SQLSRV_SQLTYPE_UDT ] { -151 } - Constant [ int SQLSRV_SQLTYPE_TABLE ] { -153 } - Constant [ int SQLSRV_SQLTYPE_UNIQUEIDENTIFIER ] { -11 } - Constant [ int SQLSRV_SQLTYPE_XML ] { -152 } - Constant [ int SQLSRV_SQLTYPE_DATE ] { 5211 } - Constant [ int SQLSRV_SQLTYPE_TIME ] { 58728806 } - Constant [ int SQLSRV_SQLTYPE_DATETIMEOFFSET ] { 58738021 } - Constant [ int SQLSRV_SQLTYPE_DATETIME2 ] { 58734173 } - Constant [ int SQLSRV_SQLTYPE_DECIMAL ] { 3 } - Constant [ int SQLSRV_SQLTYPE_NUMERIC ] { 2 } - Constant [ int SQLSRV_SQLTYPE_CHAR ] { 1 } - Constant [ int SQLSRV_SQLTYPE_NCHAR ] { -8 } - Constant [ int SQLSRV_SQLTYPE_VARCHAR ] { 12 } - Constant [ int SQLSRV_SQLTYPE_NVARCHAR ] { -9 } - Constant [ int SQLSRV_SQLTYPE_BINARY ] { -2 } - Constant [ int SQLSRV_SQLTYPE_VARBINARY ] { -3 } - Constant [ int SQLSRV_PARAM_IN ] { 1 } - Constant [ int SQLSRV_PARAM_OUT ] { 4 } - Constant [ int SQLSRV_PARAM_INOUT ] { 2 } - Constant [ int SQLSRV_TXN_READ_UNCOMMITTED ] { 1 } - Constant [ int SQLSRV_TXN_READ_COMMITTED ] { 2 } - Constant [ int SQLSRV_TXN_REPEATABLE_READ ] { 4 } - Constant [ int SQLSRV_TXN_SERIALIZABLE ] { 8 } - Constant [ int SQLSRV_TXN_SNAPSHOT ] { 32 } - Constant [ int SQLSRV_SCROLL_NEXT ] { 1 } - Constant [ int SQLSRV_SCROLL_PRIOR ] { 4 } - Constant [ int SQLSRV_SCROLL_FIRST ] { 2 } - Constant [ int SQLSRV_SCROLL_LAST ] { 3 } - Constant [ int SQLSRV_SCROLL_ABSOLUTE ] { 5 } - Constant [ int SQLSRV_SCROLL_RELATIVE ] { 6 } - Constant [ string SQLSRV_CURSOR_FORWARD ] { forward } - Constant [ string SQLSRV_CURSOR_STATIC ] { static } - Constant [ string SQLSRV_CURSOR_DYNAMIC ] { dynamic } - Constant [ string SQLSRV_CURSOR_KEYSET ] { keyset } - Constant [ string SQLSRV_CURSOR_CLIENT_BUFFERED ] { buffered } + Constant [ <persistent> int SQLSRV_ERR_ERRORS ] { 0 } + Constant [ <persistent> int SQLSRV_ERR_WARNINGS ] { 1 } + Constant [ <persistent> int SQLSRV_ERR_ALL ] { 2 } + Constant [ <persistent> int SQLSRV_LOG_SYSTEM_OFF ] { 0 } + Constant [ <persistent> int SQLSRV_LOG_SYSTEM_INIT ] { 1 } + Constant [ <persistent> int SQLSRV_LOG_SYSTEM_CONN ] { 2 } + Constant [ <persistent> int SQLSRV_LOG_SYSTEM_STMT ] { 4 } + Constant [ <persistent> int SQLSRV_LOG_SYSTEM_UTIL ] { 8 } + Constant [ <persistent> int SQLSRV_LOG_SYSTEM_ALL ] { -1 } + Constant [ <persistent> int SQLSRV_LOG_SEVERITY_ERROR ] { 1 } + Constant [ <persistent> int SQLSRV_LOG_SEVERITY_WARNING ] { 2 } + Constant [ <persistent> int SQLSRV_LOG_SEVERITY_NOTICE ] { 4 } + Constant [ <persistent> int SQLSRV_LOG_SEVERITY_ALL ] { -1 } + Constant [ <persistent> int SQLSRV_FETCH_NUMERIC ] { 1 } + Constant [ <persistent> int SQLSRV_FETCH_ASSOC ] { 2 } + Constant [ <persistent> int SQLSRV_FETCH_BOTH ] { 3 } + Constant [ <persistent> int SQLSRV_PHPTYPE_NULL ] { 1 } + Constant [ <persistent> int SQLSRV_PHPTYPE_INT ] { 2 } + Constant [ <persistent> int SQLSRV_PHPTYPE_FLOAT ] { 3 } + Constant [ <persistent> int SQLSRV_PHPTYPE_DATETIME ] { 5 } + Constant [ <persistent> int SQLSRV_PHPTYPE_TABLE ] { 7 } + Constant [ <persistent> string SQLSRV_ENC_BINARY ] { binary } + Constant [ <persistent> string SQLSRV_ENC_CHAR ] { char } + Constant [ <persistent> int SQLSRV_NULLABLE_NO ] { 0 } + Constant [ <persistent> int SQLSRV_NULLABLE_YES ] { 1 } + Constant [ <persistent> int SQLSRV_NULLABLE_UNKNOWN ] { 2 } + Constant [ <persistent> int SQLSRV_SQLTYPE_BIGINT ] { -5 } + Constant [ <persistent> int SQLSRV_SQLTYPE_BIT ] { -7 } + Constant [ <persistent> int SQLSRV_SQLTYPE_DATETIME ] { 25177693 } + Constant [ <persistent> int SQLSRV_SQLTYPE_FLOAT ] { 6 } + Constant [ <persistent> int SQLSRV_SQLTYPE_IMAGE ] { -4 } + Constant [ <persistent> int SQLSRV_SQLTYPE_INT ] { 4 } + Constant [ <persistent> int SQLSRV_SQLTYPE_MONEY ] { 33564163 } + Constant [ <persistent> int SQLSRV_SQLTYPE_NTEXT ] { -10 } + Constant [ <persistent> int SQLSRV_SQLTYPE_TEXT ] { -1 } + Constant [ <persistent> int SQLSRV_SQLTYPE_REAL ] { 7 } + Constant [ <persistent> int SQLSRV_SQLTYPE_SMALLDATETIME ] { 8285 } + Constant [ <persistent> int SQLSRV_SQLTYPE_SMALLINT ] { 5 } + Constant [ <persistent> int SQLSRV_SQLTYPE_SMALLMONEY ] { 33559555 } + Constant [ <persistent> int SQLSRV_SQLTYPE_TIMESTAMP ] { 4606 } + Constant [ <persistent> int SQLSRV_SQLTYPE_TINYINT ] { -6 } + Constant [ <persistent> int SQLSRV_SQLTYPE_UDT ] { -151 } + Constant [ <persistent> int SQLSRV_SQLTYPE_TABLE ] { -153 } + Constant [ <persistent> int SQLSRV_SQLTYPE_UNIQUEIDENTIFIER ] { -11 } + Constant [ <persistent> int SQLSRV_SQLTYPE_XML ] { -152 } + Constant [ <persistent> int SQLSRV_SQLTYPE_DATE ] { 5211 } + Constant [ <persistent> int SQLSRV_SQLTYPE_TIME ] { 58728806 } + Constant [ <persistent> int SQLSRV_SQLTYPE_DATETIMEOFFSET ] { 58738021 } + Constant [ <persistent> int SQLSRV_SQLTYPE_DATETIME2 ] { 58734173 } + Constant [ <persistent> int SQLSRV_SQLTYPE_DECIMAL ] { 3 } + Constant [ <persistent> int SQLSRV_SQLTYPE_NUMERIC ] { 2 } + Constant [ <persistent> int SQLSRV_SQLTYPE_CHAR ] { 1 } + Constant [ <persistent> int SQLSRV_SQLTYPE_NCHAR ] { -8 } + Constant [ <persistent> int SQLSRV_SQLTYPE_VARCHAR ] { 12 } + Constant [ <persistent> int SQLSRV_SQLTYPE_NVARCHAR ] { -9 } + Constant [ <persistent> int SQLSRV_SQLTYPE_BINARY ] { -2 } + Constant [ <persistent> int SQLSRV_SQLTYPE_VARBINARY ] { -3 } + Constant [ <persistent> int SQLSRV_PARAM_IN ] { 1 } + Constant [ <persistent> int SQLSRV_PARAM_OUT ] { 4 } + Constant [ <persistent> int SQLSRV_PARAM_INOUT ] { 2 } + Constant [ <persistent> int SQLSRV_TXN_READ_UNCOMMITTED ] { 1 } + Constant [ <persistent> int SQLSRV_TXN_READ_COMMITTED ] { 2 } + Constant [ <persistent> int SQLSRV_TXN_REPEATABLE_READ ] { 4 } + Constant [ <persistent> int SQLSRV_TXN_SERIALIZABLE ] { 8 } + Constant [ <persistent> int SQLSRV_TXN_SNAPSHOT ] { 32 } + Constant [ <persistent> int SQLSRV_SCROLL_NEXT ] { 1 } + Constant [ <persistent> int SQLSRV_SCROLL_PRIOR ] { 4 } + Constant [ <persistent> int SQLSRV_SCROLL_FIRST ] { 2 } + Constant [ <persistent> int SQLSRV_SCROLL_LAST ] { 3 } + Constant [ <persistent> int SQLSRV_SCROLL_ABSOLUTE ] { 5 } + Constant [ <persistent> int SQLSRV_SCROLL_RELATIVE ] { 6 } + Constant [ <persistent> string SQLSRV_CURSOR_FORWARD ] { forward } + Constant [ <persistent> string SQLSRV_CURSOR_STATIC ] { static } + Constant [ <persistent> string SQLSRV_CURSOR_DYNAMIC ] { dynamic } + Constant [ <persistent> string SQLSRV_CURSOR_KEYSET ] { keyset } + Constant [ <persistent> string SQLSRV_CURSOR_CLIENT_BUFFERED ] { buffered } } - Functions { diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index 8ca17f8..33da0c7 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -23,9 +23,9 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -%global tarversion 5.12.0 -Version: 5.12.0 -Release: 2%{?dist} +%global tarversion 5.13.0beta1 +Version: 5.13.0~beta1 +Release: 1%{?dist} License: MIT URL: https://github.com/Microsoft/msphpsql @@ -43,10 +43,12 @@ BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ BuildRequires: libtool-ltdl-devel -BuildRequires: %{?scl_prefix}php-devel >= 8.1 +BuildRequires: %{?scl_prefix}php-devel >= 8.2 BuildRequires: %{?scl_prefix}php-pdo BuildRequires: %{?scl_prefix}php-pear BuildRequires: unixODBC-devel >= 2.3.1 +# grep 'ODBC_DRIVER drivers' shared/core_conn.cpp +# { ODBC_DRIVER::VER_17, ODBC_DRIVER::VER_18, ODBC_DRIVER::VER_13 } BuildRequires:(msodbcsql18 >= %{msodbcsqlver18} or msodbcsql17 >= %{msodbcsqlver17}) Requires: (msodbcsql18%{?_isa} >= %{msodbcsqlver18} or msodbcsql17%{?_isa} >= %{msodbcsqlver17}) # ABI check @@ -145,6 +147,10 @@ EOF cp -pr NTS ZTS %endif +: ====== Known driver versions ====== +grep 'ODBC_DRIVER drivers' NTS/%{extname}/shared/core_conn.cpp | \ + sed -e 's/ODBC_DRIVER/\n\tODBC_DRIVER/g' + %build %{?dtsenable} @@ -239,6 +245,9 @@ install -D -m 644 %{ininame} %{buildroot}%{php_ztsinidir}/%{ininame} %changelog +* Sat Jan 31 2026 Remi Collet <remi@remirepo.net> - 5.12.0~beta1-1 +- update to 5.13.0beta1 + * Sat Jan 17 2026 Remi Collet <remi@remirepo.net> - 5.12.0-2 - add patch for PHP 8.5 - re-license spec file to CECILL-2.1 |
