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
6334b576
Commit
6334b576
authored
Mar 12, 2020
by
Nikita Malyavin
Committed by
Sergei Golubchik
Mar 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: const
parent
b9df4d2a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
sql/field.h
sql/field.h
+1
-1
sql/key.cc
sql/key.cc
+1
-1
sql/key.h
sql/key.h
+1
-1
sql/table.h
sql/table.h
+1
-1
storage/cassandra/ha_cassandra.cc
storage/cassandra/ha_cassandra.cc
+1
-1
No files found.
sql/field.h
View file @
6334b576
...
...
@@ -1239,7 +1239,7 @@ class Field: public Value_source
const
Relay_log_info
*
rli
,
const
Conv_param
&
param
)
const
;
inline
int
cmp
(
const
uchar
*
str
)
{
return
cmp
(
ptr
,
str
);
}
inline
int
cmp
(
const
uchar
*
str
)
const
{
return
cmp
(
ptr
,
str
);
}
virtual
int
cmp_max
(
const
uchar
*
a
,
const
uchar
*
b
,
uint
max_len
)
const
{
return
cmp
(
a
,
b
);
}
virtual
int
cmp
(
const
uchar
*
,
const
uchar
*
)
const
=
0
;
...
...
sql/key.cc
View file @
6334b576
...
...
@@ -112,7 +112,7 @@ int find_ref_key(KEY *key, uint key_count, uchar *record, Field *field,
@param with_zerofill skipped bytes in the key buffer to be filled with 0
*/
void
key_copy
(
uchar
*
to_key
,
const
uchar
*
from_record
,
KEY
*
key_info
,
void
key_copy
(
uchar
*
to_key
,
const
uchar
*
from_record
,
const
KEY
*
key_info
,
uint
key_length
,
bool
with_zerofill
)
{
uint
length
;
...
...
sql/key.h
View file @
6334b576
...
...
@@ -25,7 +25,7 @@ typedef struct st_key_part_info KEY_PART_INFO;
int
find_ref_key
(
KEY
*
key
,
uint
key_count
,
uchar
*
record
,
Field
*
field
,
uint
*
key_length
,
uint
*
keypart
);
void
key_copy
(
uchar
*
to_key
,
const
uchar
*
from_record
,
KEY
*
key_info
,
void
key_copy
(
uchar
*
to_key
,
const
uchar
*
from_record
,
const
KEY
*
key_info
,
uint
key_length
,
bool
with_zerofill
=
FALSE
);
void
key_restore
(
uchar
*
to_record
,
const
uchar
*
from_key
,
KEY
*
key_info
,
uint
key_length
);
...
...
sql/table.h
View file @
6334b576
...
...
@@ -1775,7 +1775,7 @@ class IS_table_read_plan;
constexpr
uint
frm_fieldno_size
=
2
;
static
inline
uint16
read_frm_fieldno
(
const
uchar
*
data
)
{
return
uint2korr
(
data
);
}
static
inline
void
store_frm_fieldno
(
const
uchar
*
data
,
uint16
fieldno
)
static
inline
void
store_frm_fieldno
(
uchar
*
data
,
uint16
fieldno
)
{
int2store
(
data
,
fieldno
);
}
class
select_unit
;
...
...
storage/cassandra/ha_cassandra.cc
View file @
6334b576
...
...
@@ -2170,7 +2170,7 @@ int ha_cassandra::info(uint flag)
}
void
key_copy
(
uchar
*
to_key
,
const
uchar
*
from_record
,
KEY
*
key_info
,
void
key_copy
(
uchar
*
to_key
,
const
uchar
*
from_record
,
const
KEY
*
key_info
,
uint
key_length
,
bool
with_zerofill
);
...
...
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