[Groonga-commit] ranguba/groonga-client-model at 389fc08 [master] Fix error message

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Mar 22 13:58:31 JST 2017


Kouhei Sutou	2017-03-22 13:58:31 +0900 (Wed, 22 Mar 2017)

  New Revision: 389fc08abf25d04205254ef86816b42ccaa12735
  https://github.com/ranguba/groonga-client-model/commit/389fc08abf25d04205254ef86816b42ccaa12735

  Message:
    Fix error message

  Modified files:
    lib/groonga_client_model/migration.rb

  Modified: lib/groonga_client_model/migration.rb (+2 -3)
===================================================================
--- lib/groonga_client_model/migration.rb    2017-03-21 14:15:09 +0900 (67a1677)
+++ lib/groonga_client_model/migration.rb    2017-03-22 13:58:31 +0900 (1fe6406)
@@ -343,9 +343,8 @@ module GroongaClientModel
       when "index", /\A(?:COLUMN_)?INDEX\z/i
         "COLUMN_INDEX"
       else
-        message = "table type must be one of "
-        message << "[:array, :hash_table, :patricia_trie, :double_array_trie]: "
-        message << "#{type.inspect}"
+        message = "column type must be one of "
+        message << "[:scalar, :vector, :index]: #{type.inspect}"
         raise ArgumentError, message
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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