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
d8e3aebe
Commit
d8e3aebe
authored
Oct 02, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
417c38db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_partition.cc
sql/sql_partition.cc
+4
-4
No files found.
sql/sql_partition.cc
View file @
d8e3aebe
...
...
@@ -1449,12 +1449,12 @@ static uint32 get_part_id_from_linear_hash(longlong hash_value, uint mask,
bool
field_is_partition_charset
(
Field
*
field
)
{
if
(
!
field
->
type
()
==
MYSQL_TYPE_STRING
&&
!
field
->
type
()
==
MYSQL_TYPE_VARCHAR
)
if
(
!
(
field
->
type
()
==
MYSQL_TYPE_STRING
)
&&
!
(
field
->
type
()
==
MYSQL_TYPE_VARCHAR
)
)
return
FALSE
;
{
CHARSET_INFO
*
cs
=
((
Field_str
*
)
field
)
->
charset
();
if
(
!
field
->
type
()
==
MYSQL_TYPE_STRING
||
if
(
!
(
field
->
type
()
==
MYSQL_TYPE_STRING
)
||
!
(
cs
->
state
&
MY_CS_BINSORT
))
return
TRUE
;
return
FALSE
;
...
...
@@ -1485,7 +1485,7 @@ bool field_is_partition_charset(Field *field)
bool
check_part_func_fields
(
Field
**
ptr
,
bool
ok_with_charsets
)
{
Field
*
field
;
DBUG_ENTER
(
"check_part_func_field"
);
DBUG_ENTER
(
"check_part_func_field
s
"
);
while
((
field
=
*
(
ptr
++
)))
{
...
...
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