diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-11-14 20:24:03 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-12-12 20:27:30 +0100 |
commit | b2c8d55c228d560959a031d641959e86f0274c75 (patch) | |
tree | cd0cdb74458484b21b25a0419c9026b8fc3658a6 /sql/temporary_tables.cc | |
parent | db3f110864f05132b86b996089f69105d69a7ecf (diff) | |
download | mariadb-git-b2c8d55c228d560959a031d641959e86f0274c75.tar.gz |
cleanup: unused open_table_from_share() flags
Diffstat (limited to 'sql/temporary_tables.cc')
-rw-r--r-- | sql/temporary_tables.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sql/temporary_tables.cc b/sql/temporary_tables.cc index 9a85c09b08e..c05fc632a94 100644 --- a/sql/temporary_tables.cc +++ b/sql/temporary_tables.cc @@ -1116,13 +1116,8 @@ TABLE *THD::open_temporary_table(TMP_TABLE_SHARE *share, } if (open_table_from_share(this, share, alias, - (open_in_engine) ? - (uint) (HA_OPEN_KEYFILE | HA_OPEN_RNDFILE | - HA_GET_INDEX) : 0, - (uint) (READ_KEYINFO | COMPUTE_TYPES | - EXTRA_RECORD), - ha_open_options, - table, + open_in_engine ? (uint)HA_OPEN_KEYFILE : 0, + EXTRA_RECORD, ha_open_options, table, open_in_engine ? false : true)) { my_free(table); |