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
0d4d06fd
Commit
0d4d06fd
authored
Sep 26, 2006
by
mikael/pappa@dator5.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs in check_part_func_fields
parent
3b9f4a61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
sql/sql_partition.cc
sql/sql_partition.cc
+1
-4
No files found.
sql/sql_partition.cc
View file @
0d4d06fd
...
@@ -1452,16 +1452,13 @@ static bool check_part_func_fields(Field **ptr, bool ok_with_charsets)
...
@@ -1452,16 +1452,13 @@ static bool check_part_func_fields(Field **ptr, bool ok_with_charsets)
CHARSET_INFO
*
cs
=
((
Field_str
*
)
field
)
->
charset
();
CHARSET_INFO
*
cs
=
((
Field_str
*
)
field
)
->
charset
();
if
(
field
->
type
()
==
MYSQL_TYPE_STRING
&&
if
(
field
->
type
()
==
MYSQL_TYPE_STRING
&&
cs
->
state
&
MY_CS_BINSORT
)
cs
->
state
&
MY_CS_BINSORT
)
{
continue
;
DBUG_RETURN
(
FALSE
);
}
if
(
!
ok_with_charsets
||
if
(
!
ok_with_charsets
||
cs
->
mbmaxlen
>
1
||
cs
->
mbmaxlen
>
1
||
cs
->
strxfrm_multiply
>
1
)
cs
->
strxfrm_multiply
>
1
)
{
{
DBUG_RETURN
(
TRUE
);
DBUG_RETURN
(
TRUE
);
}
}
DBUG_RETURN
(
FALSE
);
}
}
}
}
DBUG_RETURN
(
FALSE
);
DBUG_RETURN
(
FALSE
);
...
...
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