[Groonga-commit] droonga/droonga-engine at 3a52c87 [master] Detect key only table as a regular table, not an index only table

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 14 18:46:08 JST 2015


YUKI Hiroshi	2015-04-14 18:46:08 +0900 (Tue, 14 Apr 2015)

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

  Message:
    Detect key only table as a regular table, not an index only table

  Modified files:
    lib/droonga/plugins/dump.rb

  Modified: lib/droonga/plugins/dump.rb (+1 -0)
===================================================================
--- lib/droonga/plugins/dump.rb    2015-04-14 18:33:36 +0900 (cd4338e)
+++ lib/droonga/plugins/dump.rb    2015-04-14 18:46:08 +0900 (98706d3)
@@ -224,6 +224,7 @@ module Droonga
         end
 
         def index_only_table?(table)
+          return false if table.columns.empty?
           table.columns.all? do |column|
             index_column?(column)
           end
-------------- next part --------------
HTML����������������������������...
Descargar 



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