diff options
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(); - } |