Commit 1c97e07f authored by Marko Mäkelä's avatar Marko Mäkelä

fts_optimize_words(): Remove stray output

With SET GLOBAL innodb_optimize_fulltext_only=1
in effect, OPTIMIZE TABLE would output words from the fulltext index
to the server error log, even in non-debug builds.

fts_optimize_words(): Remove the unwanted output.
parent c7c54ce6
...@@ -1799,8 +1799,6 @@ fts_optimize_words( ...@@ -1799,8 +1799,6 @@ fts_optimize_words(
fetch.read_arg = optim->words; fetch.read_arg = optim->words;
fetch.read_record = fts_optimize_index_fetch_node; fetch.read_record = fts_optimize_index_fetch_node;
fprintf(stderr, "%.*s\n", (int) word->f_len, word->f_str);
while(!optim->done) { while(!optim->done) {
dberr_t error; dberr_t error;
trx_t* trx = optim->trx; trx_t* trx = optim->trx;
......
...@@ -1799,8 +1799,6 @@ fts_optimize_words( ...@@ -1799,8 +1799,6 @@ fts_optimize_words(
fetch.read_arg = optim->words; fetch.read_arg = optim->words;
fetch.read_record = fts_optimize_index_fetch_node; fetch.read_record = fts_optimize_index_fetch_node;
fprintf(stderr, "%.*s\n", (int) word->f_len, word->f_str);
while(!optim->done) { while(!optim->done) {
dberr_t error; dberr_t error;
trx_t* trx = optim->trx; trx_t* trx = optim->trx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment