[Groonga-commit] groonga/groonga at 99bf587 [master] mrb: use unknown error for unknown name

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 5 21:17:10 JST 2015


Kouhei Sutou	2015-01-05 21:17:10 +0900 (Mon, 05 Jan 2015)

  New Revision: 99bf5872804feacc350d112bcba771a5aff1e610
  https://github.com/groonga/groonga/commit/99bf5872804feacc350d112bcba771a5aff1e610

  Message:
    mrb: use unknown error for unknown name

  Modified files:
    lib/mrb/scripts/context/rc.rb

  Modified: lib/mrb/scripts/context/rc.rb (+1 -1)
===================================================================
--- lib/mrb/scripts/context/rc.rb    2015-01-05 21:16:53 +0900 (28c85bb)
+++ lib/mrb/scripts/context/rc.rb    2015-01-05 21:17:10 +0900 (bd062d4)
@@ -5,7 +5,7 @@ module Groonga
 
       class << self
         def find(name)
-          @@names[name]
+          @@names[name] || UNKNOWN_ERROR
         end
       end
 
-------------- next part --------------
HTML����������������������������...
下载 



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