diff options
-rw-r--r-- | PHPINFO | 6 | ||||
-rw-r--r-- | REFLECTION | 144 | ||||
-rw-r--r-- | php-sqlsrv.spec | 13 |
3 files changed, 85 insertions, 78 deletions
@@ -2,10 +2,10 @@ sqlsrv sqlsrv support => enabled -ExtensionVer => 5.7.0-preview +ExtensionVer => 5.7.1-preview Directive => Local Value => Master Value -sqlsrv.WarningsReturnAsErrors => On => On +sqlsrv.ClientBufferMaxKBSize => 10240 => 10240 sqlsrv.LogSeverity => 0 => 0 sqlsrv.LogSubsystems => 0 => 0 -sqlsrv.ClientBufferMaxKBSize => 10240 => 10240 +sqlsrv.WarningsReturnAsErrors => On => On @@ -1,8 +1,8 @@ -Extension [ <persistent> extension #145 sqlsrv version 5.7.0-preview ] { +Extension [ <persistent> extension #141 sqlsrv version 5.7.1-preview ] { - INI { - Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ] - Current = '1' + Entry [ sqlsrv.ClientBufferMaxKBSize <ALL> ] + Current = '10240' } Entry [ sqlsrv.LogSeverity <ALL> ] Current = '0' @@ -10,81 +10,81 @@ Extension [ <persistent> extension #145 sqlsrv version 5.7.0-preview ] { Entry [ sqlsrv.LogSubsystems <ALL> ] Current = '0' } - Entry [ sqlsrv.ClientBufferMaxKBSize <ALL> ] - Current = '10240' + Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ] + Current = '1' } } - Constants [74] { - Constant [ integer SQLSRV_ERR_ERRORS ] { 0 } - Constant [ integer SQLSRV_ERR_WARNINGS ] { 1 } - Constant [ integer SQLSRV_ERR_ALL ] { 2 } - Constant [ integer SQLSRV_LOG_SYSTEM_OFF ] { 0 } - Constant [ integer SQLSRV_LOG_SYSTEM_INIT ] { 1 } - Constant [ integer SQLSRV_LOG_SYSTEM_CONN ] { 2 } - Constant [ integer SQLSRV_LOG_SYSTEM_STMT ] { 4 } - Constant [ integer SQLSRV_LOG_SYSTEM_UTIL ] { 8 } - Constant [ integer SQLSRV_LOG_SYSTEM_ALL ] { -1 } - Constant [ integer SQLSRV_LOG_SEVERITY_ERROR ] { 1 } - Constant [ integer SQLSRV_LOG_SEVERITY_WARNING ] { 2 } - Constant [ integer SQLSRV_LOG_SEVERITY_NOTICE ] { 4 } - Constant [ integer SQLSRV_LOG_SEVERITY_ALL ] { -1 } - Constant [ integer SQLSRV_FETCH_NUMERIC ] { 1 } - Constant [ integer SQLSRV_FETCH_ASSOC ] { 2 } - Constant [ integer SQLSRV_FETCH_BOTH ] { 3 } - Constant [ integer SQLSRV_PHPTYPE_NULL ] { 1 } - Constant [ integer SQLSRV_PHPTYPE_INT ] { 2 } - Constant [ integer SQLSRV_PHPTYPE_FLOAT ] { 3 } - Constant [ integer SQLSRV_PHPTYPE_DATETIME ] { 5 } + 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 [ string SQLSRV_ENC_BINARY ] { binary } Constant [ string SQLSRV_ENC_CHAR ] { char } - Constant [ integer SQLSRV_NULLABLE_NO ] { 0 } - Constant [ integer SQLSRV_NULLABLE_YES ] { 1 } - Constant [ integer SQLSRV_NULLABLE_UNKNOWN ] { 2 } - Constant [ integer SQLSRV_SQLTYPE_BIGINT ] { -5 } - Constant [ integer SQLSRV_SQLTYPE_BIT ] { -7 } - Constant [ integer SQLSRV_SQLTYPE_DATETIME ] { 25177693 } - Constant [ integer SQLSRV_SQLTYPE_FLOAT ] { 6 } - Constant [ integer SQLSRV_SQLTYPE_IMAGE ] { -4 } - Constant [ integer SQLSRV_SQLTYPE_INT ] { 4 } - Constant [ integer SQLSRV_SQLTYPE_MONEY ] { 33564163 } - Constant [ integer SQLSRV_SQLTYPE_NTEXT ] { -10 } - Constant [ integer SQLSRV_SQLTYPE_TEXT ] { -1 } - Constant [ integer SQLSRV_SQLTYPE_REAL ] { 7 } - Constant [ integer SQLSRV_SQLTYPE_SMALLDATETIME ] { 8285 } - Constant [ integer SQLSRV_SQLTYPE_SMALLINT ] { 5 } - Constant [ integer SQLSRV_SQLTYPE_SMALLMONEY ] { 33559555 } - Constant [ integer SQLSRV_SQLTYPE_TIMESTAMP ] { 4606 } - Constant [ integer SQLSRV_SQLTYPE_TINYINT ] { -6 } - Constant [ integer SQLSRV_SQLTYPE_UDT ] { -151 } - Constant [ integer SQLSRV_SQLTYPE_UNIQUEIDENTIFIER ] { -11 } - Constant [ integer SQLSRV_SQLTYPE_XML ] { -152 } - Constant [ integer SQLSRV_SQLTYPE_DATE ] { 5211 } - Constant [ integer SQLSRV_SQLTYPE_TIME ] { 58728806 } - Constant [ integer SQLSRV_SQLTYPE_DATETIMEOFFSET ] { 58738021 } - Constant [ integer SQLSRV_SQLTYPE_DATETIME2 ] { 58734173 } - Constant [ integer SQLSRV_SQLTYPE_DECIMAL ] { 3 } - Constant [ integer SQLSRV_SQLTYPE_NUMERIC ] { 2 } - Constant [ integer SQLSRV_SQLTYPE_CHAR ] { 1 } - Constant [ integer SQLSRV_SQLTYPE_NCHAR ] { -8 } - Constant [ integer SQLSRV_SQLTYPE_VARCHAR ] { 12 } - Constant [ integer SQLSRV_SQLTYPE_NVARCHAR ] { -9 } - Constant [ integer SQLSRV_SQLTYPE_BINARY ] { -2 } - Constant [ integer SQLSRV_SQLTYPE_VARBINARY ] { -3 } - Constant [ integer SQLSRV_PARAM_IN ] { 1 } - Constant [ integer SQLSRV_PARAM_OUT ] { 4 } - Constant [ integer SQLSRV_PARAM_INOUT ] { 2 } - Constant [ integer SQLSRV_TXN_READ_UNCOMMITTED ] { 1 } - Constant [ integer SQLSRV_TXN_READ_COMMITTED ] { 2 } - Constant [ integer SQLSRV_TXN_REPEATABLE_READ ] { 4 } - Constant [ integer SQLSRV_TXN_SERIALIZABLE ] { 8 } - Constant [ integer SQLSRV_TXN_SNAPSHOT ] { 32 } - Constant [ integer SQLSRV_SCROLL_NEXT ] { 1 } - Constant [ integer SQLSRV_SCROLL_PRIOR ] { 4 } - Constant [ integer SQLSRV_SCROLL_FIRST ] { 2 } - Constant [ integer SQLSRV_SCROLL_LAST ] { 3 } - Constant [ integer SQLSRV_SCROLL_ABSOLUTE ] { 5 } - Constant [ integer SQLSRV_SCROLL_RELATIVE ] { 6 } + 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_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 } diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec index 168d9f0..1f86c0a 100644 --- a/php-sqlsrv.spec +++ b/php-sqlsrv.spec @@ -25,8 +25,8 @@ Name: %{?scl_prefix}php-sqlsrv Summary: Microsoft Drivers for PHP for SQL Server -%global tarversion 5.7.0preview -Version: 5.7.0~preview +%global tarversion 5.7.1preview +Version: 5.7.1~preview Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT @@ -40,7 +40,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit} BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ -BuildRequires: %{?scl_prefix}php-devel > 7.1 +BuildRequires: %{?scl_prefix}php-devel > 7.2 BuildRequires: %{?scl_prefix}php-pdo BuildRequires: %{?scl_prefix}php-pear BuildRequires: msodbcsql17 >= %{msodbcsqlver} @@ -287,6 +287,13 @@ fi %changelog +* Wed Dec 4 2019 Remi Collet <remi@remirepo.net> - 5.7.1~preview-1 +- update to 5.7.1preview +- raise dependency on PHP 7.2 + +* Fri Sep 6 2019 Remi Collet <remi@remirepo.net> - 5.7.0~preview-1 +- update to 5.7.0preview + * Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 5.6.1-5 - rebuild for 7.4.0RC1 |