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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
bacdd62f
Commit
bacdd62f
authored
Feb 20, 2005
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix confusing comments.
parent
1bc6ae89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/examples/ha_example.cc
sql/examples/ha_example.cc
+1
-1
sql/ha_federated.cc
sql/ha_federated.cc
+2
-2
No files found.
sql/examples/ha_example.cc
View file @
bacdd62f
...
...
@@ -414,7 +414,7 @@ int ha_example::rnd_next(byte *buf)
position() is called after each call to rnd_next() if the data needs
to be ordered. You can do something like the following to store
the position:
ha
_store_ptr(ref, ref_length, current_position);
my
_store_ptr(ref, ref_length, current_position);
The server uses ref to store data. ref_length in the above case is
the size needed to store current_position. ref is just a byte array
...
...
sql/ha_federated.cc
View file @
bacdd62f
...
...
@@ -1503,7 +1503,7 @@ int ha_federated::rnd_next(byte *buf)
/*
'position()' is called after each call to rnd_next() if the data needs to be
ordered. You can do something like the following to store the position:
ha
_store_ptr(ref, ref_length, current_position);
my
_store_ptr(ref, ref_length, current_position);
The server uses ref to store data. ref_length in the above case is the size
needed to store current_position. ref is just a byte array that the server
...
...
@@ -1516,7 +1516,7 @@ int ha_federated::rnd_next(byte *buf)
void
ha_federated
::
position
(
const
byte
*
record
)
{
DBUG_ENTER
(
"ha_federated::position"
);
//
ha
_store_ptr Add seek storage
//
my
_store_ptr Add seek storage
*
(
MYSQL_ROW_OFFSET
*
)
ref
=
current_position
;
// ref is always aligned
DBUG_VOID_RETURN
;
}
...
...
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