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
490d5224
Commit
490d5224
authored
Jan 05, 2005
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix alignment issues
parent
4cbe3225
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/ha_federated.cc
sql/ha_federated.cc
+2
-2
No files found.
sql/ha_federated.cc
View file @
490d5224
...
@@ -1522,7 +1522,7 @@ void ha_federated::position(const byte *record)
...
@@ -1522,7 +1522,7 @@ void ha_federated::position(const byte *record)
{
{
DBUG_ENTER
(
"ha_federated::position"
);
DBUG_ENTER
(
"ha_federated::position"
);
//ha_store_ptr Add seek storage
//ha_store_ptr Add seek storage
*
(
MYSQL_ROW_OFFSET
*
)
ref
=
current_position
;
*
(
MYSQL_ROW_OFFSET
*
)
ref
=
current_position
;
// ref is always aligned
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
...
@@ -1541,7 +1541,7 @@ int ha_federated::rnd_pos(byte * buf, byte *pos)
...
@@ -1541,7 +1541,7 @@ int ha_federated::rnd_pos(byte * buf, byte *pos)
{
{
DBUG_ENTER
(
"ha_federated::rnd_pos"
);
DBUG_ENTER
(
"ha_federated::rnd_pos"
);
statistic_increment
(
table
->
in_use
->
status_var
.
ha_read_rnd_count
,
&
LOCK_status
);
statistic_increment
(
table
->
in_use
->
status_var
.
ha_read_rnd_count
,
&
LOCK_status
);
current_position
=
*
(
MYSQL_ROW_OFFSET
*
)
pos
;
memcpy
(
current_position
,
pos
,
sizeof
(
MYSQL_ROW_OFFSET
));
// pos is not aligned
result
->
current_row
=
0
;
result
->
current_row
=
0
;
result
->
data_cursor
=
current_position
;
result
->
data_cursor
=
current_position
;
DBUG_RETURN
(
rnd_next
(
buf
));
DBUG_RETURN
(
rnd_next
(
buf
));
...
...
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