[Groonga-commit] droonga/droonga-engine at dcd33c0 [master] Report "not empty" error at first for non-empty joining node

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Apr 17 17:55:06 JST 2015


YUKI Hiroshi	2015-04-17 17:55:06 +0900 (Fri, 17 Apr 2015)

  New Revision: dcd33c05bc55b94af11f1ad93094bd64b68109ff
  https://github.com/droonga/droonga-engine/commit/dcd33c05bc55b94af11f1ad93094bd64b68109ff

  Message:
    Report "not empty" error at first for non-empty joining node

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+3 -2)
===================================================================
--- bin/droonga-engine-join    2015-04-17 17:31:37 +0900 (c773da8)
+++ bin/droonga-engine-join    2015-04-17 17:55:06 +0900 (5f4aff1)
@@ -50,8 +50,6 @@ module Droonga
       puts "    tag     = #{joining_node.tag}"
       puts "    dataset = #{dataset}"
       puts ""
-      puts "Source Cluster ID: #{source_cluster_id}"
-      puts ""
 
       if should_copy? and not absorber.empty_destination?
         $stderr.puts("Error: The joining node's dataset #{dataset} is not empty.")
@@ -59,6 +57,9 @@ module Droonga
         return false
       end
 
+      puts "Source Cluster ID: #{source_cluster_id}"
+      puts ""
+
       begin
         set_joining_node_role
         do_join
-------------- next part --------------
HTML����������������������������...
Download 



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