mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Bug #24992 Enabling Shared Memory support on Windows x64 causes client to fail
- Mistaken macro defintions cause mysys to read packets in the wrong order. include/my_global.h: Bug #24992 Enabling Shared Memory support on Windows x64 causes client to fail - Use low byte order optimizations for Windows.
This commit is contained in:
parent
aeb3bd3c0d
commit
61caf4635d
1 changed files with 2 additions and 2 deletions
|
@ -1053,7 +1053,7 @@ typedef char bool; /* Ordinary boolean values 0 1 */
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Optimized store functions for Intel x86 */
|
/* Optimized store functions for Intel x86 */
|
||||||
#if defined(__i386__) || (defined(_WIN32) && !defined(_WIN64))
|
#if defined(__i386__) || defined(_WIN32)
|
||||||
#define sint2korr(A) (*((int16 *) (A)))
|
#define sint2korr(A) (*((int16 *) (A)))
|
||||||
#define sint3korr(A) ((int32) ((((uchar) (A)[2]) & 128) ? \
|
#define sint3korr(A) ((int32) ((((uchar) (A)[2]) & 128) ? \
|
||||||
(((uint32) 255L << 24) | \
|
(((uint32) 255L << 24) | \
|
||||||
|
@ -1242,7 +1242,7 @@ do { doubleget_union _tmp; \
|
||||||
#define float8store(V,M) doublestore((V),(M))
|
#define float8store(V,M) doublestore((V),(M))
|
||||||
#endif /* WORDS_BIGENDIAN */
|
#endif /* WORDS_BIGENDIAN */
|
||||||
|
|
||||||
#endif /* __i386__ OR _WIN32 AND !_WIN64 */
|
#endif /* __i386__ OR _WIN32 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Macro for reading 32-bit integer from network byte order (big-endian)
|
Macro for reading 32-bit integer from network byte order (big-endian)
|
||||||
|
|
Loading…
Reference in a new issue