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
533d2187
Commit
533d2187
authored
Mar 16, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
parents
6bd23c18
66978616
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sql/ha_innodb.cc
sql/ha_innodb.cc
+5
-1
No files found.
sql/ha_innodb.cc
View file @
533d2187
...
...
@@ -4037,7 +4037,11 @@ create_index(
col_type
=
get_innobase_type_from_mysql_type
(
key_part
->
field
);
if
(
DATA_BLOB
==
col_type
||
key_part
->
length
<
field
->
pack_length
())
{
||
(
key_part
->
length
<
field
->
pack_length
()
&&
field
->
type
()
!=
MYSQL_TYPE_VARCHAR
)
||
(
field
->
type
()
==
MYSQL_TYPE_VARCHAR
&&
key_part
->
length
<
field
->
pack_length
()
-
((
Field_varstring
*
)
field
)
->
length_bytes
))
{
prefix_len
=
key_part
->
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