dbcampaign: allow wildcard for prune method

Using mixed pruning methods now does not require to run the campaign
server twice anymore.

Change-Id: I3f62c269166b750892bb0e659ad0c180425d1479
This commit is contained in:
Horst Schirmeier
2014-07-04 13:13:12 +02:00
parent 336ffd6453
commit c422911741
2 changed files with 10 additions and 11 deletions

View File

@ -26,7 +26,7 @@ class DatabaseCampaign : public Campaign {
Database *db; // !< The database connection object
DatabaseProtobufAdapter db_connect;
int fspmethod_id; // !< Which fspmethod should be put out to the clients
std::string m_fspmethod; // !< LIKE pattern indicating which fspmethod(s) should be put out to the clients
void collect_result_thread();
void load_completed_pilots(std::vector<fail::Database::Variant> &);