mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-04-24 23:13:37 +02:00
2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* Removed drop of the 'RECORDINGS.SAMPRATE' field from schema change 285. * Cleaned up SQL calls in rdcatchd(8). * Cleaned up SQL calls in 'RDStation'. * Cleaned up SQL calls in 'RDLibraryConf'. * Cleaned up SQL calls in 'RDLogeditConf'. * Cleaned up SQL calls in 'RDLogLine'. * Cleaned up SQL calls in 'RDSvc'. * Cleaned up SQL calls in rivendell_filter(1).
This commit is contained in:
@@ -59,15 +59,15 @@ bool RDReport::ExportBmiEmr(const QString &filename,const QDate &startdate,
|
||||
report_error_code=RDReport::ErrorCantOpen;
|
||||
return false;
|
||||
}
|
||||
/*
|
||||
sql=QString().sprintf("select EVENT_DATETIME,TITLE,ARTIST,COMPOSER,\
|
||||
LENGTH,ISRC,USAGE_CODE from `%s_SRT` \
|
||||
order by EVENT_DATETIME",
|
||||
(const char *)mixtable);
|
||||
*/
|
||||
sql=QString("select EVENT_DATETIME,TITLE,ARTIST,COMPOSER,")+
|
||||
"LENGTH,ISRC,USAGE_CODE from `"+
|
||||
mixtable+"_SRT` order by EVENT_DATETIME";
|
||||
sql=QString("select ")+
|
||||
"EVENT_DATETIME,"+ // 00
|
||||
"TITLE,"+ // 01
|
||||
"ARTIST,"+ // 02
|
||||
"COMPOSER,"+ // 03
|
||||
"LENGTH,"+ // 04
|
||||
"ISRC,"+ // 05
|
||||
"USAGE_CODE "+ // 06
|
||||
"from `"+mixtable+"_SRT` order by EVENT_DATETIME";
|
||||
q=new RDSqlQuery(sql);
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user