2017-10-14 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in RDStation that caused RDLogEdit parameters to
	fail to be copied as part of the profile of a new host.
This commit is contained in:
Fred Gleason 2017-10-14 17:04:39 -04:00
parent 0c52b6be55
commit 34e01ff90b
2 changed files with 7 additions and 2 deletions

View File

@ -16117,3 +16117,6 @@
2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in RDStation that caused RDLibrary parameters to
fail to be copied as part of the profile of a new host.
2017-10-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in RDStation that caused RDLogEdit parameters to
fail to be copied as part of the profile of a new host.

View File

@ -920,7 +920,8 @@ bool RDStation::create(const QString &name,QString *err_msg,
"REC_END_CART,"+ // 14
"TRIM_THRESHOLD,"+ // 15
"RIPPER_LEVEL,"+ // 16
"DEFAULT_TRANS_TYPE "+ // 17
"DEFAULT_TRANS_TYPE,"+ // 17
"ENABLE_SECOND_START "+ // 18
"from RDLOGEDIT where "+
"STATION=\""+RDEscapeString(exemplar)+"\"";
q=new RDSqlQuery(sql);
@ -944,7 +945,8 @@ bool RDStation::create(const QString &name,QString *err_msg,
QString().sprintf("REC_END_CART=%u,",q->value(14).toUInt())+
QString().sprintf("TRIM_THRESHOLD=%d,",q->value(15).toInt())+
QString().sprintf("RIPPER_LEVEL=%d,",q->value(16).toInt())+
QString().sprintf("DEFAULT_TRANS_TYPE=%d",q->value(17).toInt());
QString().sprintf("DEFAULT_TRANS_TYPE=%d,",q->value(17).toInt())+
"ENABLE_SECOND_START=\""+RDEscapeString(q->value(18).toString())+"\"";
q1=new RDSqlQuery(sql);
delete q1;
}