From 2c6f8751f322f04232d744d8f177bb4f97a5673b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Jul 2019 09:06:45 +0200 Subject: add patch for 7.4.0beta1 from https://github.com/microsoft/msphpsql/pull/1013 --- shared.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 shared.patch (limited to 'shared.patch') 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(); - } -- cgit