Skip to content

Commit 1c97e07

Browse files
committed
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.
1 parent c7c54ce commit 1c97e07

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

storage/innobase/fts/fts0opt.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,8 +1799,6 @@ fts_optimize_words(
17991799
fetch.read_arg = optim->words;
18001800
fetch.read_record = fts_optimize_index_fetch_node;
18011801

1802-
fprintf(stderr, "%.*s\n", (int) word->f_len, word->f_str);
1803-
18041802
while(!optim->done) {
18051803
dberr_t error;
18061804
trx_t* trx = optim->trx;

storage/xtradb/fts/fts0opt.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,8 +1799,6 @@ fts_optimize_words(
17991799
fetch.read_arg = optim->words;
18001800
fetch.read_record = fts_optimize_index_fetch_node;
18011801

1802-
fprintf(stderr, "%.*s\n", (int) word->f_len, word->f_str);
1803-
18041802
while(!optim->done) {
18051803
dberr_t error;
18061804
trx_t* trx = optim->trx;

0 commit comments

Comments
 (0)