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
2525db66
Commit
2525db66
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
30a16b45
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 @
2525db66
...
...
@@ -3471,8 +3471,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
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
)
||
(
cfield
->
field
->
field_length
==
key_part_length
&&
!
f_is_blob
(
key_part
->
key_type
))
||
(
cfield
->
length
&&
(
cfield
->
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