[Groonga-commit] groonga/gcs [master] Fix logic to detect index field type

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 11日 (水) 19:13:24 JST


SHIMODA Hiroshi	2012-07-11 19:13:24 +0900 (Wed, 11 Jul 2012)

  New Revision: 2102514e61ca9d4787b8d44067e0aca1018777fe
  https://github.com/groonga/gcs/commit/2102514e61ca9d4787b8d44067e0aca1018777fe

  Log:
    Fix logic to detect index field type

  Modified files:
    lib/domain.js

  Modified: lib/domain.js (+1 -1)
===================================================================
--- lib/domain.js    2012-07-11 19:10:55 +0900 (7517545)
+++ lib/domain.js    2012-07-11 19:13:24 +0900 (1fa33ed)
@@ -93,7 +93,7 @@ Domain.prototype = {
     } else if (column.type == 'fix') {
       if (column.range == Database.UInt32)
         type = 'uint';
-      else if (column.range == Database.ShortText)
+      else if (column.range == this.getIndexField(name).alterTableName)
         type = 'literal';
     }
     if (!type)
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下载 



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