Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e0cda2fe
Commit
e0cda2fe
authored
Feb 08, 2001
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql
parents
0d3b7ae0
6102a85c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
include/global.h
include/global.h
+1
-1
include/myisampack.h
include/myisampack.h
+1
-1
sql/field.cc
sql/field.cc
+2
-2
sql/filesort.cc
sql/filesort.cc
+1
-1
No files found.
include/global.h
View file @
e0cda2fe
...
...
@@ -812,7 +812,7 @@ typedef union {
#define float4get(V,M) memcpy_fixed((byte*) &V,(byte*) (M),sizeof(float))
#define float4store(V,M) memcpy_fixed((byte*) V,(byte*) (&M),sizeof(float))
#if (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#if
defined(__FLOAT_WORD_ORDER) &&
(__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#define doublestore(T,V) { *(T)= ((byte *) &V)[4];\
*((T)+1)=(char) ((byte *) &V)[5];\
*((T)+2)=(char) ((byte *) &V)[6];\
...
...
include/myisampack.h
View file @
e0cda2fe
...
...
@@ -167,7 +167,7 @@
((byte*) &def_temp)[3]=(M)[0];\
(V)=def_temp; }
#if (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#if
defined(__FLOAT_WORD_ORDER) &&
(__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#define mi_float8store(T,V) { *(T)= ((byte *) &V)[3];\
*((T)+1)=(char) ((byte *) &V)[2];\
*((T)+2)=(char) ((byte *) &V)[1];\
...
...
sql/field.cc
View file @
e0cda2fe
...
...
@@ -2107,7 +2107,7 @@ int Field_double::cmp(const char *a_ptr, const char *b_ptr)
#endif
{
/* could this ALWAYS be 2 calls to doubleget() ?? */
#if (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#if
defined(__FLOAT_WORD_ORDER) &&
(__FLOAT_WORD_ORDER == __BIG_ENDIAN)
doubleget
(
a
,
a_ptr
);
doubleget
(
b
,
b_ptr
);
#else
...
...
@@ -2134,7 +2134,7 @@ void Field_double::sort_string(char *to,uint length __attribute__((unused)))
else
#endif
/* could this ALWAYS be 2 calls to doubleget() ?? */
#if (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#if
defined(__FLOAT_WORD_ORDER) &&
(__FLOAT_WORD_ORDER == __BIG_ENDIAN)
doubleget
(
nr
,
ptr
);
#else
memcpy_fixed
(
&
nr
,
ptr
,
sizeof
(
nr
));
...
...
sql/filesort.cc
View file @
e0cda2fe
...
...
@@ -932,7 +932,7 @@ void change_double_for_sort(double nr,byte *to)
#else
{
uchar
*
ptr
=
(
uchar
*
)
&
nr
;
#if (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#if
defined(__FLOAT_WORD_ORDER) &&
(__FLOAT_WORD_ORDER == __BIG_ENDIAN)
tmp
[
0
]
=
ptr
[
3
];
tmp
[
1
]
=
ptr
[
2
];
tmp
[
2
]
=
ptr
[
1
];
tmp
[
3
]
=
ptr
[
0
];
tmp
[
4
]
=
ptr
[
7
];
tmp
[
5
]
=
ptr
[
6
];
tmp
[
6
]
=
ptr
[
5
];
tmp
[
7
]
=
ptr
[
4
];
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment