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
e29d7c5f
Commit
e29d7c5f
authored
Apr 18, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0-build
into debian.(none):/M50/push-5.0
parents
a2061153
05a3c69c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+4
-4
No files found.
sql/ha_ndbcluster.cc
View file @
e29d7c5f
...
@@ -733,8 +733,8 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field,
...
@@ -733,8 +733,8 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field,
DBUG_DUMP
(
"value"
,
(
char
*
)
&
bits
,
pack_len
);
DBUG_DUMP
(
"value"
,
(
char
*
)
&
bits
,
pack_len
);
#ifdef WORDS_BIGENDIAN
#ifdef WORDS_BIGENDIAN
/* store lsw first */
/* store lsw first */
bits
=
((
bits
>>
32
)
&
0x00000000FFFFFFFF
)
bits
=
((
bits
>>
32
)
&
0x00000000FFFFFFFF
LL
)
|
((
bits
<<
32
)
&
0xFFFFFFFF00000000
);
|
((
bits
<<
32
)
&
0xFFFFFFFF00000000
LL
);
#endif
#endif
DBUG_RETURN
(
ndb_op
->
setValue
(
fieldnr
,
(
char
*
)
&
bits
,
pack_len
)
!=
0
);
DBUG_RETURN
(
ndb_op
->
setValue
(
fieldnr
,
(
char
*
)
&
bits
,
pack_len
)
!=
0
);
}
}
...
@@ -2678,10 +2678,10 @@ void ha_ndbcluster::unpack_record(byte* buf)
...
@@ -2678,10 +2678,10 @@ void ha_ndbcluster::unpack_record(byte* buf)
/* lsw is stored first */
/* lsw is stored first */
Uint32
*
buf
=
(
Uint32
*
)(
*
value
).
rec
->
aRef
();
Uint32
*
buf
=
(
Uint32
*
)(
*
value
).
rec
->
aRef
();
((
Field_bit
*
)
*
field
)
->
store
((((
longlong
)
*
buf
)
((
Field_bit
*
)
*
field
)
->
store
((((
longlong
)
*
buf
)
&
0x000000000FFFFFFFF
)
&
0x000000000FFFFFFFF
LL
)
|
|
((((
longlong
)
*
(
buf
+
1
))
<<
32
)
((((
longlong
)
*
(
buf
+
1
))
<<
32
)
&
0xFFFFFFFF00000000
),
&
0xFFFFFFFF00000000
LL
),
TRUE
);
TRUE
);
#else
#else
((
Field_bit
*
)
*
field
)
->
store
((
longlong
)
((
Field_bit
*
)
*
field
)
->
store
((
longlong
)
...
...
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