Skip to content

Commit a79c651

Browse files
committed
Ignore performance hack issues
1 parent f20c1fe commit a79c651

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mysqlnd/mysqlnd_portability.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ This file is public domain and comes with NO WARRANTY of any kind */
108108
*/
109109

110110
/* Optimized store functions for Intel x86, non-valid for WIN64. __i386__ is GCC */
111+
#if 0
111112
#if defined(__i386__) && !defined(_WIN64)
112113
#define sint2korr(A) (*((int16_t *) (A)))
113114
#define sint3korr(A) ((int32_t) ((((zend_uchar) (A)[2]) & 128) ? \
@@ -157,6 +158,7 @@ typedef union {
157158
/* From Andrey Hristov based on float8get */
158159
#define floatget(V,M) memcpy((char*) &(V),(char*) (M),sizeof(float))
159160
#endif /* __i386__ */
161+
#endif
160162

161163

162164
/* If we haven't defined sint2korr, which is because the platform is not x86 or it's WIN64 */

0 commit comments

Comments
 (0)