Skip to content

Commit

Permalink
Fix gcc v5.compiler errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lindström committed Dec 5, 2015
1 parent 082b859 commit e528fe7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion storage/innobase/dict/dict0crea.c
Expand Up @@ -1140,7 +1140,7 @@ dict_create_index_step(
>= DICT_TF_FORMAT_ZIP);

node->index = dict_index_get_if_in_cache_low(index_id);
ut_a(!node->index == (err != DB_SUCCESS));
ut_a(err == DB_SUCCESS ? node->index != NULL : node->index == NULL);

if (err != DB_SUCCESS) {

Expand Down
2 changes: 1 addition & 1 deletion storage/innobase/log/log0recv.c
Expand Up @@ -1763,7 +1763,7 @@ recv_apply_hashed_log_recs(
goto loop;
}

ut_ad(!allow_ibuf == mutex_own(&log_sys->mutex));
ut_ad(allow_ibuf == FALSE ? mutex_own(&log_sys->mutex) : !mutex_own(&log_sys->mutex));

if (!allow_ibuf) {
recv_no_ibuf_operations = TRUE;
Expand Down
2 changes: 1 addition & 1 deletion storage/xtradb/dict/dict0crea.c
Expand Up @@ -1255,7 +1255,7 @@ dict_create_index_step(
>= DICT_TF_FORMAT_ZIP);

node->index = dict_index_get_if_in_cache_low(index_id);
ut_a(!node->index == (err != DB_SUCCESS));
ut_a(err == DB_SUCCESS ? node->index != NULL : node->index == NULL);

if (err != DB_SUCCESS) {

Expand Down
2 changes: 1 addition & 1 deletion storage/xtradb/log/log0recv.c
Expand Up @@ -1840,7 +1840,7 @@ recv_apply_hashed_log_recs(
goto loop;
}

ut_ad(!allow_ibuf == mutex_own(&log_sys->mutex));
ut_ad(allow_ibuf == FALSE ? mutex_own(&log_sys->mutex) : !mutex_own(&log_sys->mutex));

if (!allow_ibuf) {
recv_no_ibuf_operations = TRUE;
Expand Down

0 comments on commit e528fe7

Please sign in to comment.