1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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.
This commit is contained in:
Sergei Petrunia
2017-12-15 17:59:33 +03:00
parent a9a4089175
commit 64b11e61b5
6 changed files with 30 additions and 17 deletions

View File

@@ -1358,4 +1358,6 @@ struct Rdb_index_info {
uint64 m_ttl_duration = 0;
};
bool rdb_is_collation_supported(const my_core::CHARSET_INFO *const cs);
} // namespace myrocks