diff options
author | Rich Prohaska <prohaska@tokutek.com> | 2013-10-23 12:30:07 -0400 |
---|---|---|
committer | Rich Prohaska <prohaska@tokutek.com> | 2013-10-23 12:30:07 -0400 |
commit | a8af167fe346f9dc30272c92bbb1330903e4645d (patch) | |
tree | e643d3552f1a8ea93b668e24447ff904b3c9d1d3 /storage/tokudb/hatoku_hton.cc | |
parent | 62abb74a6c1bd7f892c66bce6db705f8105fc9cb (diff) | |
download | mariadb-git-a8af167fe346f9dc30272c92bbb1330903e4645d.tar.gz |
tokutek/mysql56#23 turn on extended keys for tokudb
Diffstat (limited to 'storage/tokudb/hatoku_hton.cc')
-rw-r--r-- | storage/tokudb/hatoku_hton.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index 073448fe5c0..b975c9852ae 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -315,6 +315,15 @@ static int tokudb_init_func(void *p) { // tokudb_hton->flags= HTON_CAN_RECREATE; // QQQ this came from skeleton tokudb_hton->flags = HTON_CLOSE_CURSORS_AT_COMMIT; +#if TOKU_INCLUDE_EXTENDED_KEYS +#if defined(HTON_SUPPORTS_EXTENDED_KEYS) + tokudb_hton->flags |= HTON_SUPPORTS_EXTENDED_KEYS; +#endif +#if defined(HTON_EXTENDED_KEYS) + tokudb_hton->flags |= HTON_EXTENDED_KEYS; +#endif +#endif + #if TOKU_INCLUDE_OTHER_DB_TYPE // we have historically been a dynamic storage engine, so we set db_type according. // however, extended keys is triggered off of the db_type, so tokudb adds another type so that extended keys works |