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
5e2e4161
Commit
5e2e4161
authored
Mar 14, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #26794: fixed valgrind warning
parent
a0499f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/sql_table.cc
sql/sql_table.cc
+1
-2
No files found.
sql/sql_table.cc
View file @
5e2e4161
...
...
@@ -5865,8 +5865,7 @@ view_err:
checking whether cfield->length < key_part_length (in chars).
*/
if
(
!
Field
::
type_can_have_key_part
(
cfield
->
field
->
type
())
||
(
!
Field
::
type_can_have_key_part
(
cfield
->
sql_type
)
&&
!
f_is_geom
(
cfield
->
pack_flag
))
||
!
Field
::
type_can_have_key_part
(
cfield
->
sql_type
)
||
/* spatial keys can't have sub-key length */
(
key_info
->
flags
&
HA_SPATIAL
)
||
(
cfield
->
field
->
field_length
==
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