[Groonga-mysql-commit] mroonga/mroonga at 14f23d1 [master] mysql57: fix string length format

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 17 21:28:18 JST 2015


Kouhei Sutou	2015-03-17 21:28:18 +0900 (Tue, 17 Mar 2015)

  New Revision: 14f23d1b098d38534758d50ae4104c612e45070c
  https://github.com/mroonga/mroonga/commit/14f23d1b098d38534758d50ae4104c612e45070c

  Message:
    mysql57: fix string length format

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2015-03-17 21:26:37 +0900 (331e532)
+++ ha_mroonga.cpp    2015-03-17 21:28:18 +0900 (a971145)
@@ -9503,7 +9503,7 @@ int ha_mroonga::generic_store_bulk_variable_size_string(Field *field,
   String value;
   field->val_str(NULL, &value);
   grn_obj_reinit(ctx, buf, GRN_DB_SHORT_TEXT, 0);
-  DBUG_PRINT("info", ("mroonga: length=%u", value.length()));
+  DBUG_PRINT("info", ("mroonga: length=%zu", value.length()));
   DBUG_PRINT("info", ("mroonga: value=%s", value.c_ptr_safe()));
   GRN_TEXT_SET(ctx, buf, value.ptr(), value.length());
   DBUG_RETURN(error);
-------------- next part --------------
HTML����������������������������...
Download 



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