[Groonga-commit] droonga/fluent-plugin-droonga at e29c07f [master] schema: Insert type_flag method

Back to archive index

Yoji Shidara null+****@clear*****
Tue Feb 18 16:15:47 JST 2014


Yoji Shidara	2014-02-18 16:15:47 +0900 (Tue, 18 Feb 2014)

  New Revision: e29c07fef154b17a2a4dc05eb94366ae748ac4b6
  https://github.com/droonga/fluent-plugin-droonga/commit/e29c07fef154b17a2a4dc05eb94366ae748ac4b6

  Message:
    schema: Insert type_flag method

  Modified files:
    lib/droonga/catalog/schema.rb

  Modified: lib/droonga/catalog/schema.rb (+5 -1)
===================================================================
--- lib/droonga/catalog/schema.rb    2014-02-18 16:13:43 +0900 (310e5ba)
+++ lib/droonga/catalog/schema.rb    2014-02-18 16:15:47 +0900 (bcfa44a)
@@ -99,7 +99,7 @@ module Droonga
           @data["normalizer"]
         end
 
-        def flags
+        def type_flag
           case type
           when "Array"
             "TABLE_NO_KEY"
@@ -114,6 +114,10 @@ module Droonga
           end
         end
 
+        def flags
+          type_flag
+        end
+
         def to_table_create_body
           body = {
             "name"     => name,
-------------- next part --------------
HTML����������������������������...
Download 



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