[Groonga-commit] droonga/fluent-plugin-droonga at a8c896a [catalog-schema] Stop parting schema in Droonga::Catalog::Base

Back to archive index

Yoji Shidara null+****@clear*****
Wed Feb 19 12:14:52 JST 2014


Yoji Shidara	2014-02-19 12:14:52 +0900 (Wed, 19 Feb 2014)

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

  Message:
    Stop parting schema in Droonga::Catalog::Base

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

  Modified: lib/droonga/catalog/base.rb (+1 -3)
===================================================================
--- lib/droonga/catalog/base.rb    2014-02-18 19:17:50 +0900 (b037309)
+++ lib/droonga/catalog/base.rb    2014-02-19 12:14:52 +0900 (fcfdbbf)
@@ -16,14 +16,13 @@
 require "digest/sha1"
 require "zlib"
 require "time"
-require "droonga/catalog/schema"
 require "droonga/message_processing_error"
 require "droonga/catalog/errors"
 
 module Droonga
   module Catalog
     class Base
-      attr_reader :path, :base_path, :schema
+      attr_reader :path, :base_path
       def initialize(data, path)
         @data = data
         @path = path
@@ -48,7 +47,6 @@ module Droonga
           dataset["continuum"] = continuum.sort do |a, b| a[0] - b[0]; end
         end
         @options = @data["options"] || {}
-        @schema = Droonga::Catalog::Schema.new(@data["schema"])
       end
 
       def option(name)
-------------- next part --------------
HTML����������������������������...
Download 



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