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
6d15efb1
Commit
6d15efb1
authored
Feb 27, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field.cc:
rename len -> length, to look in common style
parent
a67c7ebc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/field.cc
sql/field.cc
+5
-5
No files found.
sql/field.cc
View file @
6d15efb1
...
...
@@ -4351,18 +4351,18 @@ uint32 Field_blob::get_length(const char *pos)
}
int
Field_blob
::
store
(
const
char
*
from
,
uint
len
,
CHARSET_INFO
*
cs
)
int
Field_blob
::
store
(
const
char
*
from
,
uint
len
gth
,
CHARSET_INFO
*
cs
)
{
if
(
!
len
)
if
(
!
len
gth
)
{
bzero
(
ptr
,
Field_blob
::
pack_length
());
}
else
{
Field_blob
::
store_length
(
len
);
if
(
table
->
copy_blobs
||
len
<=
MAX_FIELD_WIDTH
)
Field_blob
::
store_length
(
len
gth
);
if
(
table
->
copy_blobs
||
len
gth
<=
MAX_FIELD_WIDTH
)
{
// Must make a copy
value
.
copy
(
from
,
len
,
charset
());
value
.
copy
(
from
,
len
gth
,
charset
());
from
=
value
.
ptr
();
}
bmove
(
ptr
+
packlength
,(
char
*
)
&
from
,
sizeof
(
char
*
));
...
...
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