[Groonga-mysql-commit] mroonga/mroonga [master] (added == 0) -> (!added).

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2011年 9月 11日 (日) 12:43:55 JST


Kouhei Sutou	2011-09-11 03:43:55 +0000 (Sun, 11 Sep 2011)

  New Revision: 01a1681b4aa7a73fc320758fff74b9e0ab37c7c8

  Log:
    (added == 0) -> (!added).

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2011-09-11 02:51:45 +0000 (bc433de)
+++ ha_mroonga.cc    2011-09-11 03:43:55 +0000 (f0253b0)
@@ -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);




Groonga-mysql-commit メーリングリストの案内
アーカイブの一覧に戻る