* Fixed a bug in the 'rdxport' service that caused the 'ListLog'
WebAPI call to return null values in the 'description', 'isrc',
'isci', 'recordingMbId' and 'releaseMbId' fields.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Removed the 'EVENTS.POST_POINT' field from the database.
* Removed the 'LOG_LINES.POST_POINT' field from the database.
* Incremented the database version tp 315.
* Removed 'RDEventLine::postPoint()' and
'RDEventLine::setPostPoint()' methods.
* Removed the 'Post Point' checkbox from the 'Editing Event' dialog
in rdlogmanager(1).
* Fixed a regression in 'RDEventLine' that caused the
'Append Log' ['AL'] RML to append a copy of the currently loaded
log instead of the one specified in the RML command.
Signed-off-by: Fred Gleason <fredg@paraelsystems.com>
* Fixed a bug in the rivwebcapi 'RD_ListLogs()' that caused
corruption of log names containing multi-byte UTF-8 characters.
* Fixed a bug in the rivwebcapi 'RD_ListLog()' that caused
corruption of log names containing multi-byte UTF-8 characters.
* Fixed a regression in the 'RDLogEvent::insert()' method
that threw a segfault when applied on am empty log.
* Fixed a bug in date/time parsing methods that could cause
segfaults.
Most files are simple swaps to get rid of extra " as a NULL return will give
invalid SQL if used as follows UPDATE x SET y="NULL";
See github issue 121 for more info.
Extra changes have been made to the following files:
* lib/rdcartslot.cpp
- Added a QDateTime variable to prevent EVENT_DATETIME becoming
"2016-06-09" "NULL" as it was checked separately for date and time
* lib/rdcut.cpp
- Reworked START_DATETIME and END_DATETIME to save the SQL ifs. I believe this
makes it easier to read and understand.
- The >QDate(1900,1,1) and < 8000 is probably not needed but I left it there
just in case.
* lib/rdescape_string.cpp
- Reworked to add extra " if the date is not NULL see issue 121
* lib/rdfeed.cpp && lib/rdpodcast.cpp
- Had to add a SetRow for QDateTime as with the string conversion the existing
SetRow would add an extra set of "
* lib/rdsound_panel.cpp && rdairplay/log_traffic.cpp
&& utils/rddgimport/rddgimport.cpp
- Added a QString to contain EVENT_DATETIME to prevent double checks of date
and time separately (similar to lib/rdcartslot.cpp)
* rdcatchd/rdcatchd.cpp
- Reverted the changes. The RML here is not touching the DB so is fine, plus
with the RDCheckDateTime changes you'd have extra " unless it was NULL
* tests/sas_switch_torture.cpp && sas_torture.cpp
- Included missing rdescape_string.h