[groonga-commit:532] groonga [activegroonga (trunk) r555] * remove a needless variable.

null at cozmixng.org null at cozmixng.org
Tue Jul 28 04:10:28 EDT 2009


retro	2009-07-28 17:10:28 +0900 (Tue, 28 Jul 2009)

  New Revision: 555

  Log:
    * remove a needless variable.
  Modified files:
    activegroonga/trunk/lib/active_groonga/base.rb


  Modified: activegroonga/trunk/lib/active_groonga/base.rb (+2 -2)
===================================================================
--- activegroonga/trunk/lib/active_groonga/base.rb	2009-07-28 15:58:06 +09:00 (rev 554)
+++ activegroonga/trunk/lib/active_groonga/base.rb	2009-07-28 17:10:28 +09:00 (rev 555)
@@ -591,9 +591,9 @@
           end
           database_file = File.join(database_directory, "database.groonga")
           if File.exist?(database_file)
-            @@database = Groonga::Database.new(database_file)
+            Groonga::Database.new(database_file)
           else
-            @@database = Groonga::Database.create(:path => database_file)
+            Groonga::Database.create(:path => database_file)
           end
           self.database_directory = database_directory
         end



More information about the groonga-commit mailing list