summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION6
-rw-r--r--php-sqlsrv.spec25
4 files changed, 20 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index 1ab5c4f..01f0400 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
+clog
package-*.xml
*.tgz
+*.tar.bz2
*.tar.gz
*.tar.xz
*.tar.xz.asc
diff --git a/PHPINFO b/PHPINFO
index c295b03..e20178e 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
sqlsrv
sqlsrv support => enabled
-ExtensionVer => 5.8.1
+ExtensionVer => 5.9.0-preview1
Directive => Local Value => Master Value
sqlsrv.WarningsReturnAsErrors => On => On
diff --git a/REFLECTION b/REFLECTION
index bd1ffa0..c614019 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #113 sqlsrv version 5.8.1 ] {
+Extension [ <persistent> extension #117 sqlsrv version 5.9.0-preview1 ] {
- INI {
Entry [ sqlsrv.WarningsReturnAsErrors <ALL> ]
@@ -172,8 +172,10 @@ Extension [ <persistent> extension #113 sqlsrv version 5.8.1 ] {
}
Function [ <internal:sqlsrv> function sqlsrv_fetch ] {
- - Parameters [1] {
+ - Parameters [3] {
Parameter #0 [ <required> $stmt ]
+ Parameter #1 [ <optional> $row ]
+ Parameter #2 [ <optional> $offset ]
}
}
Function [ <internal:sqlsrv> function sqlsrv_get_field ] {
diff --git a/php-sqlsrv.spec b/php-sqlsrv.spec
index 0e7eee5..3027493 100644
--- a/php-sqlsrv.spec
+++ b/php-sqlsrv.spec
@@ -21,13 +21,13 @@
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
# After 20-pdo.ini
%global ininame 40-%{extname}.ini
-%global msodbcsqlver 17.4
+%global msodbcsqlver 17.4.2
Name: %{?scl_prefix}php-sqlsrv
Summary: Microsoft Drivers for PHP for SQL Server
-%global tarversion 5.8.1
-Version: 5.8.1
-Release: 1%{?dist}
+%global tarversion 5.9.0preview1
+Version: 5.9.0~preview1
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
URL: https://github.com/Microsoft/msphpsql
@@ -65,22 +65,20 @@ Provides: %{?scl_prefix}php-pecl(pdo_%{extname}) = %{version}
Provides: %{?scl_prefix}php-pecl(pdo_%{extname})%{_isa} = %{version}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-sqlsrv <= %{version}
-Obsoletes: php71w-sqlsrv <= %{version}
-%endif
+%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
%if "%{php_version}" > "7.2"
Obsoletes: php72u-sqlsrv <= %{version}
-Obsoletes: php72w-sqlsrv <= %{version}
%endif
%if "%{php_version}" > "7.3"
Obsoletes: php73-sqlsrv <= %{version}
-Obsoletes: php73w-sqlsrv <= %{version}
%endif
%if "%{php_version}" > "7.4"
Obsoletes: php74-sqlsrv <= %{version}
-Obsoletes: php74w-sqlsrv <= %{version}
+%endif
+%if "%{php_version}" > "8.0"
+Obsoletes: php80-sqlsrv <= %{version}
+Obsoletes: php80-pecl-sqlsrv <= %{version}
+Obsoletes: php80-pecl-pdo-sqlsrv <= %{version}
%endif
%endif
@@ -289,6 +287,9 @@ fi
%changelog
+* Mon Oct 5 2020 Remi Collet <remi@remirepo.net> - 5.9.0~preview1-1
+- update to 5.9.0preview1
+
* Thu Apr 16 2020 Remi Collet <remi@remirepo.net> - 5.8.1-1
- update to 5.8.1