[Groonga-commit] groonga/gcs [master] Don't delete the index column (because it has been deleted automatically)

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 6日 (金) 15:30:02 JST


SHIMODA Hiroshi	2012-07-06 15:30:02 +0900 (Fri, 06 Jul 2012)

  New Revision: c3094998721b784e84a51c9f9b27acc6d8a7af6f
  https://github.com/groonga/gcs/commit/c3094998721b784e84a51c9f9b27acc6d8a7af6f

  Log:
    Don't delete the index column (because it has been deleted automatically)

  Modified files:
    lib/api/2011-02-01/configuration.js

  Modified: lib/api/2011-02-01/configuration.js (+1 -8)
===================================================================
--- lib/api/2011-02-01/configuration.js    2012-07-06 15:24:15 +0900 (62671a8)
+++ lib/api/2011-02-01/configuration.js    2012-07-06 15:30:02 +0900 (d9b705b)
@@ -254,16 +254,9 @@ handlers.DeleteIndexField = function(database, request, response) {
         name: field.columnName
       };
   database.commandDeferred('column_remove', options)
-    .next(function(data) {
-      var termsOptions = {
-            table: domain.termsTableName,
-            name: field.indexColumnName
-          };
-      return database.commandDeferred('column_remove', termsOptions);
-    })
     .next(function() {
       response.contentType('application/xml');
-      response.send(createDeleteIndexFieldResponse());
+      response.send(createDeleteIndexFieldResponse({}));
     })
     .error(function(error) {
       var body = createCommonErrorResponse('InternalFailure', error.message);
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
다운로드 



Groonga-commit メーリングリストの案内
Back to archive index