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
4d3bc261
Commit
4d3bc261
authored
Dec 29, 2015
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/5.5' into 10.0
parents
7529870c
61d3621e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/field.h
sql/field.h
+5
-5
No files found.
sql/field.h
View file @
4d3bc261
...
...
@@ -2440,11 +2440,6 @@ class Field_blob :public Field_longstr {
*/
String
value
;
void
store_length
(
uchar
*
i_ptr
,
uint
i_packlength
,
uint32
i_number
);
inline
void
store_length
(
uint32
number
)
{
store_length
(
ptr
,
packlength
,
number
);
}
public:
Field_blob
(
uchar
*
ptr_arg
,
uchar
*
null_ptr_arg
,
uchar
null_bit_arg
,
enum
utype
unireg_check_arg
,
const
char
*
field_name_arg
,
...
...
@@ -2522,6 +2517,11 @@ class Field_blob :public Field_longstr {
int
reset
(
void
)
{
bzero
(
ptr
,
packlength
+
sizeof
(
uchar
*
));
return
0
;
}
void
reset_fields
()
{
bzero
((
uchar
*
)
&
value
,
sizeof
(
value
));
}
uint32
get_field_buffer_size
(
void
)
{
return
value
.
alloced_length
();
}
void
store_length
(
uchar
*
i_ptr
,
uint
i_packlength
,
uint32
i_number
);
inline
void
store_length
(
uint32
number
)
{
store_length
(
ptr
,
packlength
,
number
);
}
inline
uint32
get_length
(
uint
row_offset
=
0
)
{
return
get_length
(
ptr
+
row_offset
,
this
->
packlength
);
}
uint32
get_length
(
const
uchar
*
ptr
,
uint
packlength
);
...
...
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