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
600f1155
Commit
600f1155
authored
Aug 15, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix windows build
parent
131f9a71
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/field.cc
sql/field.cc
+1
-1
sql/field.h
sql/field.h
+1
-1
No files found.
sql/field.cc
View file @
600f1155
...
...
@@ -6412,7 +6412,7 @@ void Field_varstring::sql_type(String &res) const
}
uint
Field_varstring
::
data_length
(
const
char
*
from
)
uint
32
Field_varstring
::
data_length
(
const
char
*
from
)
{
return
length_bytes
==
1
?
(
uint
)
(
uchar
)
*
ptr
:
uint2korr
(
ptr
);
}
...
...
sql/field.h
View file @
600f1155
...
...
@@ -1107,7 +1107,7 @@ class Field_varstring :public Field_longstr {
int
key_cmp
(
const
byte
*
str
,
uint
length
);
uint
packed_col_length
(
const
char
*
to
,
uint
length
);
uint
max_packed_col_length
(
uint
max_length
);
uint
data_length
(
const
char
*
from
);
uint
32
data_length
(
const
char
*
from
);
uint
size_of
()
const
{
return
sizeof
(
*
this
);
}
enum_field_types
real_type
()
const
{
return
MYSQL_TYPE_VARCHAR
;
}
bool
has_charset
(
void
)
const
...
...
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