[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] (added == 0) -> (!added).

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:46:13 JST 2012


Kouhei Sutou	2011-09-11 12:43:55 +0900 (Sun, 11 Sep 2011)

  New Revision: 01a1681b4aa7a73fc320758fff74b9e0ab37c7c8
  https://github.com/mroonga/mroonga/commit/01a1681b4aa7a73fc320758fff74b9e0ab37c7c8

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

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc    2011-09-11 11:51:45 +0900 (bc433de)
+++ ha_mroonga.cc    2011-09-11 12:43:55 +0900 (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);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index