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
fbed4826
Commit
fbed4826
authored
Apr 29, 2007
by
gshchepa/uchum@gshchepa.loc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch to eliminate compilation errors under VC after bug #13191 fix.
parent
87c6ef4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/key.cc
sql/key.cc
+2
-2
No files found.
sql/key.cc
View file @
fbed4826
...
@@ -101,9 +101,9 @@ void key_copy(byte *key,TABLE *table,uint idx,uint key_length)
...
@@ -101,9 +101,9 @@ void key_copy(byte *key,TABLE *table,uint idx,uint key_length)
length
=
min
(
key_length
,
key_part
->
length
);
length
=
min
(
key_length
,
key_part
->
length
);
Field
*
field
=
key_part
->
field
;
Field
*
field
=
key_part
->
field
;
CHARSET_INFO
*
cs
=
field
->
charset
();
CHARSET_INFO
*
cs
=
field
->
charset
();
uint
bytes
=
field
->
get_key_image
(
key
,
length
,
cs
,
Field
::
itRAW
);
uint
bytes
=
field
->
get_key_image
(
(
char
*
)
key
,
length
,
cs
,
Field
::
itRAW
);
if
(
bytes
<
length
)
if
(
bytes
<
length
)
cs
->
cset
->
fill
(
cs
,
key
+
bytes
,
length
-
bytes
,
' '
);
cs
->
cset
->
fill
(
cs
,
(
char
*
)
key
+
bytes
,
length
-
bytes
,
' '
);
}
}
key
+=
length
;
key
+=
length
;
key_length
-=
length
;
key_length
-=
length
;
...
...
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