storage/tokudb/PerconaFT/buildheader/CMakeLists.txt

Bug #1510085 reported by Sergei Golubchik on 2015-10-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Tomislav Plavcic
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
High
Tomislav Plavcic

Bug Description

You have
-----------------------------
add_executable(make_tdb make_tdb)
-----------------------------
This is pretty bad, because it says that "make_tdb" is the source for the make_tdb target. During first compilation it works, because cmake will look for files with different extensions and make_tdb.cc will match. But when re-running make, the file with the exact name "make_tdb" will exist, and it will be used as a source!

You can fix it by specifying the source file name explicitly:
-----------------------------
add_executable(make_tdb make_tdb.cc)
-----------------------------

tags: added: low-hanging-fruit tokudb

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-933

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers