mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 08:33:39 +02:00
2017-08-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog.cpp' that caused incorrect results when calculating the total number of voice tracks in a log.
This commit is contained in:
@@ -15929,3 +15929,6 @@
|
||||
'rlm_filewrite' RLM from 256 to 8192 characters.
|
||||
2017-08-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 2.16.0int06_rfa02.
|
||||
2017-08-16 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'lib/rdlog.cpp' that caused incorrect results when
|
||||
calculating the total number of voice tracks in a log.
|
||||
|
@@ -394,8 +394,10 @@ void RDLog::updateTracks()
|
||||
unsigned scheduled=0;
|
||||
unsigned completed=0;
|
||||
|
||||
sql=QString().sprintf("select NUMBER from CART where OWNER=\"%s\"",
|
||||
(const char *)RDEscapeString(log_name));
|
||||
sql=QString("select `")+RDLog::tableName(log_name)+"`.ID from "+
|
||||
"`"+RDLog::tableName(log_name)+"` left join CART "+
|
||||
"on `"+RDLog::tableName(log_name)+"`.CART_NUMBER=CART.NUMBER where "+
|
||||
"CART.OWNER is not null";
|
||||
q=new RDSqlQuery(sql);
|
||||
completed=q->size();
|
||||
delete q;
|
||||
|
Reference in New Issue
Block a user