1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MariaRocks port: Return correct value of HA_PRIMARY_KEY_IN_READ_INDEX flag

This cset just re-uses the approach from facebook/mysql-5.6 (Perhaps we
will have something different for MariaDB in the end).

For now this is:
Port this fix
  dd7eeae69503cb8ab6ddc8fd9e2fef451cc31a32
  Issue#250: MyRocks/Innodb different output from query with order by on table with index and decimal type
  Summary:
  Make open_binary_frm() set TABLE_SHARE::primary_key before it computes

Also add the patch for
  https://github.com/facebook/mysql-5.6/issues/376
This commit is contained in:
Sergei Petrunia
2016-12-02 15:35:36 +00:00
parent f2219fe94d
commit 59d76665ee
6 changed files with 57 additions and 16 deletions

View File

@ -2757,6 +2757,8 @@ public:
{
cached_table_flags= table_flags();
}
virtual bool init_with_fields() { return false; }
/* ha_ methods: pubilc wrappers for private virtual API */
int ha_open(TABLE *table, const char *name, int mode, uint test_if_locked);