mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-05 15:09:10 +02:00
2021-02-03 Fred Gleason <fredg@paravelsystems.com>
* Removed dead code from 'rdadmin/list_nodes.cpp'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
7877144d77
commit
0efe0ca98c
@ -21000,3 +21000,5 @@
|
||||
* Added 'RDReplCartListModel'.
|
||||
* Refactored the 'XDS Replicator Carts' dialog in rdadmin(1) to use
|
||||
the model-based API.
|
||||
2021-02-03 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed dead code from 'rdadmin/list_nodes.cpp'.
|
||||
|
@ -199,25 +199,3 @@ void ListNodes::PurgeEndpoints(const QString &tablename)
|
||||
delete q;
|
||||
RDSqlQuery::apply(sql);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void ListNodes::PurgeEndpoints(const QString &tablename)
|
||||
{
|
||||
QString sql;
|
||||
RDSqlQuery *q;
|
||||
|
||||
sql=QString("delete from ")+tablename+" where "+
|
||||
"(STATION_NAME=\""+RDEscapeString(list_matrix->station())+"\")&&"+
|
||||
QString().sprintf("(MATRIX=%d)&&",list_matrix->matrix());
|
||||
RDListViewItem *item=(RDListViewItem *)list_list_view->firstChild();
|
||||
while(item!=NULL) {
|
||||
sql+=QString("((NODE_HOSTNAME!=\"")+RDEscapeString(item->text(0))+"\")&&"+
|
||||
QString().sprintf("(NODE_TCP_PORT!=%d))&&",item->text(3).toInt());
|
||||
item=(RDListViewItem *)item->nextSibling();
|
||||
}
|
||||
sql=sql.left(sql.length()-2);
|
||||
q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
}
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user