[Groonga-commit] droonga/droonga-engine at c2e9b51 [master] Return number of records directly by system.n_total_records

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 21 16:09:17 JST 2014


YUKI Hiroshi	2014-11-21 16:09:17 +0900 (Fri, 21 Nov 2014)

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

  Message:
    Return number of records directly by system.n_total_records

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

  Modified: lib/droonga/plugins/system.rb (+1 -3)
===================================================================
--- lib/droonga/plugins/system.rb    2014-11-21 16:00:58 +0900 (5eadb51)
+++ lib/droonga/plugins/system.rb    2014-11-21 16:09:17 +0900 (f816e47)
@@ -52,9 +52,7 @@ module Droonga
           @context.database.tables.collect do |table|
             n_records += table.size
           end
-          {
-            "n_total_records" => n_records,
-          }
+          n_records
         end
       end
 
-------------- next part --------------
HTML����������������������������...
下載 



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