Navigation Menu

Skip to content

Commit

Permalink
(added == 0) -> (!added).
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Sep 11, 2011
1 parent e5241bf commit 01a1681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -2913,7 +2913,7 @@ int ha_mroonga::storage_write_row(uchar *buf)
DBUG_RETURN(ER_ERROR_ON_WRITE);
}
grn_obj_unlink(ctx, &wrapper);
if (added == 0) {
if (!added) {
// duplicated error
#ifndef DBUG_OFF
dbug_tmp_restore_column_map(table->read_set, tmp_map);
Expand Down

0 comments on commit 01a1681

Please sign in to comment.