Kouhei Sutou
null+****@clear*****
Wed Aug 10 22:49:55 JST 2016
Kouhei Sutou 2016-08-10 22:49:55 +0900 (Wed, 10 Aug 2016) New Revision: 0be03adef74086c67598a81c0aa7e37acf0f760d https://github.com/mroonga/mroonga/commit/0be03adef74086c67598a81c0aa7e37acf0f760d Message: Add missing spaces around string literal GCC 6.1.1 reports an error for the case. Modified files: mrn_table.cpp Modified: mrn_table.cpp (+4 -4) =================================================================== --- mrn_table.cpp 2016-08-04 11:45:19 +0900 (1c208e9) +++ mrn_table.cpp 2016-08-10 22:49:55 +0900 (65880ce) @@ -278,7 +278,7 @@ void mrn_get_partition_info(const char *table_name, uint table_name_length, #define MRN_PARAM_STR(title_name, param_name) \ if (!strncasecmp(tmp_ptr, title_name, title_length)) \ { \ - DBUG_PRINT("info", ("mroonga "title_name" start")); \ + DBUG_PRINT("info", ("mroonga " title_name " start")); \ if (!share->param_name) \ { \ if ((share->param_name = mrn_get_string_between_quote( \ @@ -290,7 +290,7 @@ void mrn_get_partition_info(const char *table_name, uint table_name_length, MYF(0), tmp_ptr); \ goto error; \ } \ - DBUG_PRINT("info", ("mroonga "title_name"=%s", share->param_name)); \ + DBUG_PRINT("info", ("mroonga " title_name "=%s", share->param_name)); \ } \ break; \ } @@ -298,7 +298,7 @@ void mrn_get_partition_info(const char *table_name, uint table_name_length, #define MRN_PARAM_STR_LIST(title_name, param_name, param_pos) \ if (!strncasecmp(tmp_ptr, title_name, title_length)) \ { \ - DBUG_PRINT("info", ("mroonga "title_name" start")); \ + DBUG_PRINT("info", ("mroonga " title_name " start")); \ if (share->param_name && !share->param_name[param_pos]) \ { \ if ((share->param_name[param_pos] = mrn_get_string_between_quote( \ @@ -311,7 +311,7 @@ void mrn_get_partition_info(const char *table_name, uint table_name_length, MYF(0), tmp_ptr); \ goto error; \ } \ - DBUG_PRINT("info", ("mroonga "title_name"[%d]=%s", param_pos, \ + DBUG_PRINT("info", ("mroonga " title_name "[%d]=%s", param_pos, \ share->param_name[param_pos])); \ } \ break; \ -------------- next part -------------- HTML����������������������������...下載