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
d2628345
Commit
d2628345
authored
Oct 16, 2016
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MariaRocks port: make key_restore() parameter const
parent
274e5be1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/key.cc
sql/key.cc
+1
-1
sql/key.h
sql/key.h
+1
-1
No files found.
sql/key.cc
View file @
d2628345
...
...
@@ -176,7 +176,7 @@ void key_copy(uchar *to_key, uchar *from_record, KEY *key_info,
@param key_length specifies length of all keyparts that will be restored
*/
void
key_restore
(
uchar
*
to_record
,
uchar
*
from_key
,
KEY
*
key_info
,
void
key_restore
(
uchar
*
to_record
,
const
uchar
*
from_key
,
KEY
*
key_info
,
uint
key_length
)
{
uint
length
;
...
...
sql/key.h
View file @
d2628345
...
...
@@ -29,7 +29,7 @@ int find_ref_key(KEY *key, uint key_count, uchar *record, Field *field,
uint
*
key_length
,
uint
*
keypart
);
void
key_copy
(
uchar
*
to_key
,
uchar
*
from_record
,
KEY
*
key_info
,
uint
key_length
,
bool
with_zerofill
=
FALSE
);
void
key_restore
(
uchar
*
to_record
,
uchar
*
from_key
,
KEY
*
key_info
,
void
key_restore
(
uchar
*
to_record
,
const
uchar
*
from_key
,
KEY
*
key_info
,
uint
key_length
);
bool
key_cmp_if_same
(
TABLE
*
form
,
const
uchar
*
key
,
uint
index
,
uint
key_length
);
void
key_unpack
(
String
*
to
,
TABLE
*
table
,
KEY
*
key
);
...
...
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