[Groonga-commit] droonga/fluent-plugin-droonga at 7a475ba [master] Relove path to the database correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Sep 27 18:07:47 JST 2013


YUKI Hiroshi	2013-09-27 18:07:47 +0900 (Fri, 27 Sep 2013)

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

  Message:
    Relove path to the database correctly

  Modified files:
    lib/droonga/catalog.rb

  Modified: lib/droonga/catalog.rb (+1 -1)
===================================================================
--- lib/droonga/catalog.rb    2013-09-27 18:06:07 +0900 (0393886)
+++ lib/droonga/catalog.rb    2013-09-27 18:07:47 +0900 (bd829cc)
@@ -77,7 +77,7 @@ module Droonga
             partitions.each do |partition|
               if partition =~ pattern
                 path = File.join([device, $POSTMATCH, 'db'])
-                path = File.expand_path(base_path)
+                path = File.expand_path(path, base_path)
                 options = {
                   :database => path,
                   :n_workers => workers,
-------------- next part --------------
HTML����������������������������...
Download 



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