[Groonga-commit] droonga/droonga-engine at 31ec95d [master] groonga: delete record in the table correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 24 15:31:01 JST 2014


YUKI Hiroshi	2014-04-24 15:31:01 +0900 (Thu, 24 Apr 2014)

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

  Message:
    groonga: delete record in the table correctly

  Modified files:
    lib/droonga/plugins/groonga/delete.rb

  Modified: lib/droonga/plugins/groonga/delete.rb (+1 -1)
===================================================================
--- lib/droonga/plugins/groonga/delete.rb    2014-04-24 15:30:39 +0900 (353c14c)
+++ lib/droonga/plugins/groonga/delete.rb    2014-04-24 15:31:01 +0900 (6d34fa2)
@@ -83,7 +83,7 @@ module Droonga
                 filter.parse(parameters[:filter], :syntax => :script)
                 records = table.select(filter)
                 records.each do |record|
-                  record.delete
+                  record.key.delete
                 end
               rescue ::Groonga::SyntaxError
                 message = "syntax error in filter: <#{parameters[:filter].to_s}>"
-------------- next part --------------
HTML����������������������������...
Download 



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