mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02:00
2024-02-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogmanager(1) that could throw SQL 'column out of range' errors when importing traffic logs. * Fixed a bug in rdlogmanager(1) that threw SQL errors when processing log GUIDs containing apostrophes. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -172,8 +172,8 @@ void TestImport::importData()
|
||||
QString sql=QString("delete from `IMPORTER_LINES` where ")+
|
||||
"`STATION_NAME`='"+RDEscapeString(rda->station()->name())+"' && "+
|
||||
QString::asprintf("`PROCESS_ID`=%u",getpid());
|
||||
printf("IMPORTER_LINES cleanup SQL: %s\n",sql.toUtf8().constData());
|
||||
// RDSqlQuery::apply(sql);
|
||||
// printf("IMPORTER_LINES cleanup SQL: %s\n",sql.toUtf8().constData());
|
||||
RDSqlQuery::apply(sql);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user