mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
addresses #814
curly braces around if clause git-svn-id: file:///svn/mysql/tokudb-engine/src@4927 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d7608e0a0e
commit
1bb28b0dac
1 changed files with 2 additions and 1 deletions
|
@ -1755,8 +1755,9 @@ void ha_tokudb::get_status() {
|
|||
fn_format(name_buff, newname, "", 0, MY_UNPACK_FILENAME);
|
||||
uint open_mode = (((table->db_stat & HA_READ_ONLY) ? DB_RDONLY : 0)
|
||||
| DB_THREAD);
|
||||
if (tokudb_debug & TOKUDB_DEBUG_OPEN)
|
||||
if (tokudb_debug & TOKUDB_DEBUG_OPEN) {
|
||||
TOKUDB_TRACE("open:%s\n", newname);
|
||||
}
|
||||
if (!db_create(&share->status_block, db_env, 0)) {
|
||||
if (share->status_block->open(share->status_block, NULL, name_buff, NULL, DB_BTREE, open_mode, 0)) {
|
||||
share->status_block->close(share->status_block, 0);
|
||||
|
|
Loading…
Reference in a new issue