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
d9f39284
Commit
d9f39284
authored
May 18, 2019
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A cleanup for MDEV-19284, MDEV-19285
Fixing a test failure tokudb.change_column_varbin_descriptor
parent
b8617574
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sql/sql_type.cc
sql/sql_type.cc
+9
-0
No files found.
sql/sql_type.cc
View file @
d9f39284
...
@@ -8287,6 +8287,15 @@ Charset::encoding_allows_reinterpret_as(const CHARSET_INFO *cs) const
...
@@ -8287,6 +8287,15 @@ Charset::encoding_allows_reinterpret_as(const CHARSET_INFO *cs) const
bool
bool
Charset
::
encoding_and_order_allow_reinterpret_as
(
CHARSET_INFO
*
cs
)
const
Charset
::
encoding_and_order_allow_reinterpret_as
(
CHARSET_INFO
*
cs
)
const
{
{
/*
Test quickly if we have two exactly equal CHARSET_INFO pointers.
This also handles a special case with my_charset_bin:
it does not have a collation name specific part in CHARSET_INFO::name,
which is just "binary" (without a character set name prefix),
so the code with collation_specific_name() below won't work for it.
*/
if
(
m_charset
==
cs
)
return
true
;
if
(
!
encoding_allows_reinterpret_as
(
cs
))
if
(
!
encoding_allows_reinterpret_as
(
cs
))
return
false
;
return
false
;
LEX_CSTRING
name0
=
collation_specific_name
();
LEX_CSTRING
name0
=
collation_specific_name
();
...
...
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