FT-661 pull request #292 breaks Percona Server build

Description

.../percona-server/storage/tokudb/ft-index/src/ydb.cc:2506:36: error: unused variable ‘db_txn_internal’ [-Werror=unused-variable]
struct __toku_db_txn_internal *db_txn_internal = db_txn_struct_i(dbtxn);
^
cc1plus: all warnings being treated as errors
make[2]: *** [storage/tokudb/ft-index/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o] Error 1
make[1]: *** [storage/tokudb/ft-index/src/CMakeFiles/tokudb_static_conv.dir/all] Error 2
make: *** [all] Error 2

Environment

None

Status

Assignee

George Lorch

Reporter

George Lorch

Labels

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Priority

Blocker
Configure