mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2017-01-31 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AddLog' method to the Web API. * Added an 'DeleteLog' method to the Web API. * Added a 'SaveLog' method to the Web API. * Added 'eventLength', 'linkEventName', 'linkStartSlop', 'linkEndSlop', 'linkId', 'linkEmbedded', 'extStartTime', 'extLength', 'extCartName', 'extData', 'extEventId', and 'extAnncType' XML fields to the return of the ListLog web API method
This commit is contained in:
@@ -36,8 +36,8 @@ RDLog::RDLog(const QString &name,bool create)
|
||||
log_name=name;
|
||||
|
||||
if(create) {
|
||||
sql=QString().sprintf("select NAME from LOGS where \
|
||||
(NAME=\"%s\")",(const char *)RDEscapeString(log_name));
|
||||
sql=QString("select NAME from LOGS where ")+
|
||||
"(NAME=\""+RDEscapeString(log_name)+"\")";
|
||||
q=new RDSqlQuery(sql);
|
||||
if(q->size()!=1) {
|
||||
delete q;
|
||||
|
||||
Reference in New Issue
Block a user