summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-06-14 12:18:49 +0300
committerEugene Kosov <claprix@yandex.ru>2019-06-22 14:09:12 +0300
commit854c219a7f0e1878517d5a821992f650342380dd (patch)
tree440110d59938760ecf3fe47f9298967c1805e873 /sql/sql_string.h
parent72d3676fe5608d29c1200386de8a2ef4ecfe15b3 (diff)
downloadmariadb-git-854c219a7f0e1878517d5a821992f650342380dd.tar.gz
MDEV-17301 Change of COLLATE unnecessarily requires ALGORITHM=COPY
Patch is about two cases: 1) On some collate changes it's possible to rebuild only secondary indexes 2) For non-indexed columns collate can be changed INSTANTly Implemented mostly in Field_{string,varstring,blob}::is_equal(). Make this method return how exactly collationa differs. This information is later used by fill_alter_inplace_info() to pass correct info to engine.
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index f21f23e42ef..10af5a9426f 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -167,7 +167,7 @@ public:
*/
LEX_CSTRING collation_specific_name() const;
bool encoding_allows_reinterpret_as(CHARSET_INFO *cs) const;
- bool encoding_and_order_allow_reinterpret_as(CHARSET_INFO *cs) const;
+ bool eq_collation_specific_names(CHARSET_INFO *cs) const;
};