[Groonga-commit] ranguba/rroonga at 0916868 [master] grndump: add --dump-indexes option

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 28 18:31:34 JST 2014


Kouhei Sutou	2014-01-28 18:31:34 +0900 (Tue, 28 Jan 2014)

  New Revision: 09168681f608e651d9b61c7f5ea1fa1ee1a7a6d6
  https://github.com/ranguba/rroonga/commit/09168681f608e651d9b61c7f5ea1fa1ee1a7a6d6

  Message:
    grndump: add --dump-indexes option
    
    It is useful to dump only indexes.
    
    The implementation was included in
    3a1e3d0617d24caddcb612a86056d62d8ca72725...

  Modified files:
    test/test-database-dumper.rb

  Modified: test/test-database-dumper.rb (+8 -0)
===================================================================
--- test/test-database-dumper.rb    2014-01-28 18:29:59 +0900 (148370f)
+++ test/test-database-dumper.rb    2014-01-28 18:31:34 +0900 (58d46f8)
@@ -260,6 +260,14 @@ load --table Users
     def test_no_schema
       assert_equal(<<-DUMP, dump(:dump_schema => false))
 #{dumped_tables}
+
+#{dumped_schema_index_columns}
+      DUMP
+    end
+
+    def test_no_schema_no_indexes
+      assert_equal(<<-DUMP, dump(:dump_schema => false, :dump_indexes => false))
+#{dumped_tables}
       DUMP
     end
 
-------------- next part --------------
HTML����������������������������...
下载 



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