summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2017-12-15 17:59:33 +0300
committerSergei Petrunia <psergey@askmonty.org>2017-12-15 18:00:24 +0300
commit64b11e61b5055cbdcdb97911d426b4f13f14fbd1 (patch)
tree9cae95d0050c44fd27beb308d0590980cd8be933 /sql/share
parenta9a4089175a8fd5a9b973f99f87cd0fe181f8f47 (diff)
downloadmariadb-git-64b11e61b5055cbdcdb97911d426b4f13f14fbd1.tar.gz
MDEV-14293: MyRocks lacks basic functionality
The error "Unsupported collation on string indexed column %s Use binary collation (latin1_bin, binary, utf8_bin)." is misleading. Change it: - It is now a warning - It is printed only for collations that do not support index-only access (reversible collations that use unpack_info are ok) - The new warning text is: Indexed column %s.%s uses a collation that does not allow index-only access in secondary key and has reduced disk space efficiency in primary key.
Diffstat (limited to 'sql/share')
-rw-r--r--sql/share/errmsg-utf8.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt
index 528dc7107e6..50ccc6eadd1 100644
--- a/sql/share/errmsg-utf8.txt
+++ b/sql/share/errmsg-utf8.txt
@@ -7753,3 +7753,6 @@ ER_GEOJSON_EMPTY_COORDINATES
ER_MYROCKS_CANT_NOPAD_COLLATION
eng "MyRocks doesn't currently support collations with \"No pad\" attribute."
+ER_MYROCKS_COLLATION_IS_LIMITED
+ eng "Indexed column %s.%s uses a collation that does not allow index-only access in secondary key and has reduced disk space efficiency in primary key."
+