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 /storage/oqgraph | |
parent | db3f110864f05132b86b996089f69105d69a7ecf (diff) | |
download | mariadb-git-b2c8d55c228d560959a031d641959e86f0274c75.tar.gz |
cleanup: unused open_table_from_share() flags
Diffstat (limited to 'storage/oqgraph')
-rw-r--r-- | storage/oqgraph/ha_oqgraph.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/oqgraph/ha_oqgraph.cc b/storage/oqgraph/ha_oqgraph.cc index 6e6377b7068..b55619a6fa5 100644 --- a/storage/oqgraph/ha_oqgraph.cc +++ b/storage/oqgraph/ha_oqgraph.cc @@ -623,9 +623,8 @@ int ha_oqgraph::open(const char *name, int mode, uint test_if_locked) } if (enum open_frm_error err= open_table_from_share(thd, share, "", - (uint) (HA_OPEN_KEYFILE | HA_OPEN_RNDFILE | - HA_GET_INDEX | HA_TRY_READ_ONLY), - READ_KEYINFO | COMPUTE_TYPES | EXTRA_RECORD, + (uint) (HA_OPEN_KEYFILE | HA_TRY_READ_ONLY), + EXTRA_RECORD, thd->open_options, edges, FALSE)) { open_table_error(share, err, EMFILE); // NOTE - EMFILE is probably bogus, it reports as too many open files (!) |