diff options
author | Remi Collet <remi@remirepo.net> | 2019-07-24 09:06:45 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-07-24 09:06:45 +0200 |
commit | 2c6f8751f322f04232d744d8f177bb4f97a5673b (patch) | |
tree | cf27eeafe3b9bac50e8d291436cb680553c63dfe /shared.patch | |
parent | 7163c800fcb30d9d050ede10e05306573e2e4c6e (diff) |
add patch for 7.4.0beta1 from https://github.com/microsoft/msphpsql/pull/1013
Diffstat (limited to 'shared.patch')
-rw-r--r-- | shared.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/shared.patch b/shared.patch deleted file mode 100644 index 9988ea6..0000000 --- a/shared.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -up shared/core_sqlsrv.h.old shared/core_sqlsrv.h ---- shared/core_sqlsrv.h.old 2019-06-14 14:35:28.803295513 +0200 -+++ shared/core_sqlsrv.h 2019-06-14 14:37:01.829830963 +0200 -@@ -2402,7 +2402,11 @@ namespace core { - - inline void sqlsrv_add_index_zval( _Inout_ sqlsrv_context& ctx, _Inout_ zval* array, _In_ zend_ulong index, _In_ zval* value TSRMLS_DC) - { -+#ifdef add_index_zval -+ int zr = add_index_zval( array, index, value ); -+#else - int zr = ::add_index_zval( array, index, value ); -+#endif - CHECK_ZEND_ERROR( zr, ctx, SQLSRV_ERROR_ZEND_HASH ) { - throw CoreException(); - } -@@ -2410,7 +2414,11 @@ namespace core { - - inline void sqlsrv_add_next_index_zval( _Inout_ sqlsrv_context& ctx, _Inout_ zval* array, _In_ zval* value TSRMLS_DC) - { -+#ifdef add_next_index_zval -+ int zr = add_next_index_zval( array, value ); -+#else - int zr = ::add_next_index_zval( array, value ); -+#endif - CHECK_ZEND_ERROR( zr, ctx, SQLSRV_ERROR_ZEND_HASH ) { - throw CoreException(); - } |