[Groonga-mysql-commit] mroonga/mroonga at 7a9d6e9 [master] Remove needless assertion

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 14 23:50:13 JST 2015


Kouhei Sutou	2015-05-14 23:50:13 +0900 (Thu, 14 May 2015)

  New Revision: 7a9d6e99de2564f6049c394c97bea5a4afdada70
  https://github.com/mroonga/mroonga/commit/7a9d6e99de2564f6049c394c97bea5a4afdada70

  Message:
    Remove needless assertion
    
    Encoded multiple column key (multiple column key for Groonga) may be
    later than multiple column key for MySQL.

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+0 -1)
===================================================================
--- ha_mroonga.cpp    2015-05-14 23:17:10 +0900 (34e8b62)
+++ ha_mroonga.cpp    2015-05-14 23:50:13 +0900 (67a0259)
@@ -5683,7 +5683,6 @@ int ha_mroonga::storage_write_row_multiple_column_index(uchar *buf,
   grn_bulk_space(ctx, &encoded_key_buffer, encoded_key_length);
   DBUG_PRINT("info", ("mroonga: key_length=%u", key_info->key_length));
   DBUG_PRINT("info", ("mroonga: encoded_key_length=%u", encoded_key_length));
-  DBUG_ASSERT(key_info->key_length >= encoded_key_length);
 
   grn_rc rc;
   rc = grn_column_index_update(ctx, index_column, record_id, 1, NULL,
-------------- next part --------------
HTML����������������������������...
下載 



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