[Groonga-commit] groonga/fluent-plugin-groonga at 8908b4b [master] Reduce needless table_list call

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 5 14:27:35 JST 2014


Kouhei Sutou	2014-11-05 14:27:35 +0900 (Wed, 05 Nov 2014)

  New Revision: 8908b4b8f9403f5a01fb40541ca9f27eb5e18b22
  https://github.com/groonga/fluent-plugin-groonga/commit/8908b4b8f9403f5a01fb40541ca9f27eb5e18b22

  Message:
    Reduce needless table_list call

  Modified files:
    lib/fluent/plugin/out_groonga.rb

  Modified: lib/fluent/plugin/out_groonga.rb (+2 -0)
===================================================================
--- lib/fluent/plugin/out_groonga.rb    2014-11-05 13:17:13 +0900 (7bbb1e7)
+++ lib/fluent/plugin/out_groonga.rb    2014-11-05 14:27:35 +0900 (e71afa8)
@@ -184,6 +184,8 @@ module Fluent
       end
 
       def create
+        return if****@defin*****?
+
         table_list =****@clien*****("table_list")
         @definitions.each do |definition|
           existing_table = table_list.find do |table|
-------------- next part --------------
HTML����������������������������...
下載 



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