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:
Fred Gleason
2017-01-31 18:01:46 -05:00
parent 03ee1d780c
commit 41b3db2408
17 changed files with 1261 additions and 4 deletions

View File

@@ -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;