Displaying 1 result from an estimated 1 matches for "fts_parser_text_init".
2013 Feb 22
1
patch to fix binary attachment indexing
...3-02-21 19:48:15.000000000 -0600
@@ -178,7 +178,8 @@
*binary_body_r = TRUE;
key.type = FTS_BACKEND_BUILD_KEY_BODY_PART_BINARY;
}
- if (ctx->body_parser == NULL)
+ if (ctx->body_parser == NULL &&
+ key.type != FTS_BACKEND_BUILD_KEY_BODY_PART_BINARY)
ctx->body_parser = fts_parser_text_init();
key.body_content_type = content_type;
key.body_content_disposition = ctx->content_disposition;