[Groonga-commit] groonga/gcs [master] Translator.translateIndexFieldType => Field#fieldTypeToColumnType

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 9日 (月) 17:48:02 JST


SHIMODA Hiroshi	2012-07-09 17:48:02 +0900 (Mon, 09 Jul 2012)

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

  Log:
    Translator.translateIndexFieldType => Field#fieldTypeToColumnType

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

  Modified: lib/api/2011-02-01/configuration.js (+1 -1)
===================================================================
--- lib/api/2011-02-01/configuration.js    2012-07-09 17:43:59 +0900 (12ed28f)
+++ lib/api/2011-02-01/configuration.js    2012-07-09 17:48:02 +0900 (6bf2198)
@@ -282,7 +282,7 @@ handlers.DeleteIndexField = function(database, request, response) {
       name: field.columnName
     });
 
-    if (column.type == Translator.translateIndexFieldType('uint')) {
+    if (column.type == field.fieldTypeToColumnType('uint')) {
       var alterTableName = domain.getAlterTableName(field.columnName);
       database.commandSync('table_remove', {
         name: alterTableName
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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