mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-12 09:33:37 +02:00
Set SCHEDULED_AT when adding to the STACK
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <schedcartlist.h>
|
||||
#include <rddb.h>
|
||||
#include <rdescape_string.h>
|
||||
#include <syslog.h>
|
||||
|
||||
RDEventLine::RDEventLine()
|
||||
{
|
||||
@@ -838,6 +839,7 @@ bool RDEventLine::generateLog(QString logname,const QString &svcname,
|
||||
count++;
|
||||
|
||||
sql=QString("insert into `")+svcname_rp+"_STACK` set "+
|
||||
"SCHEDULED_AT=now(),"+
|
||||
QString().sprintf("SCHED_STACK_ID=%u,",stackid)+
|
||||
QString().sprintf("CART=%u,",schedCL->getItemCartnumber(schedpos))+
|
||||
"ARTIST=\""+RDEscapeString(schedCL->getItemArtist(schedpos))+"\","+
|
||||
|
Reference in New Issue
Block a user