[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] "error != 0" -> "error".

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:24:55 JST 2012


Kouhei Sutou	2011-06-13 10:59:24 +0900 (Mon, 13 Jun 2011)

  New Revision: 0c4943405653b73d77f75b339fd3a7c84052b04f
  https://github.com/mroonga/mroonga/commit/0c4943405653b73d77f75b339fd3a7c84052b04f

  Log:
    "error != 0" -> "error".

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+3 -3)
===================================================================
--- ha_mroonga.cc    2011-06-13 10:55:03 +0900 (c1fd755)
+++ ha_mroonga.cc    2011-06-13 10:59:24 +0900 (9c23129)
@@ -1047,15 +1047,15 @@ int ha_mroonga::default_create(const char *name, TABLE *table,
   MRN_DBUG_ENTER_METHOD();
 
   error = default_create_validate_pseudo_column(table);
-  if (error != 0)
+  if (error)
     DBUG_RETURN(error);
 
   error = default_create_validate_index(table);
-  if (error != 0)
+  if (error)
     DBUG_RETURN(error);
 
   error = default_create_ensure_database_open(name);
-  if (error != 0)
+  if (error)
     DBUG_RETURN(error);
 
   grn_obj_flags tbl_flags = GRN_OBJ_PERSISTENT;
-------------- next part --------------
HTML����������������������������...
Download 



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