[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] removed work-around-code for drop database.

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:20:14 JST 2012


Tetsuro IKEDA	2010-03-25 10:48:48 +0900 (Thu, 25 Mar 2010)

  New Revision: ca25a9ed5cbe4396b10fd11f287ce13f36ba059e
  https://github.com/mroonga/mroonga/commit/ca25a9ed5cbe4396b10fd11f287ce13f36ba059e

  Log:
    removed work-around-code for drop database.

  Modified files:
    driver.c

  Modified: driver.c (+0 -6)
===================================================================
--- driver.c    2010-03-24 18:44:38 +0900 (c1c506d)
+++ driver.c    2010-03-25 10:48:48 +0900 (5b4fc66)
@@ -675,11 +675,5 @@ int mrn_db_drop(grn_ctx *ctx, char *path)
     GRN_LOG(ctx, GRN_LOG_ERROR, "cannot drop database (%s)", path);
     return -1;
   }
-  /* workaround code (from) */
-  char f[32];
-  strncpy(f, path, 32);
-  strncat(f, ".0000000", 32);
-  unlink(f);
-  /* workaround code (to) */
   return 0;
 }
-------------- next part --------------
HTML����������������������������...
Download 



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