2020-04-16 Fred Gleason <fredg@paravelsystems.com>

* 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>
This commit is contained in:
Fred Gleason
2020-04-15 12:24:47 -04:00
parent 095ae09138
commit 118c019edc
3 changed files with 11 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
//
// Abstract Rivendell Log Events
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -72,8 +72,7 @@ class RDLogEvent
QString xml() const;
private:
// int LoadLines(const QString &log_table,int id_offset,bool track_ptrs);
int LoadLines(int id_offset,bool track_ptrs);
int LoadLines(const QString &logname,int id_offset,bool track_ptrs);
void SaveLine(int line);
void InsertLines(QString values);
void InsertLineValues(QString *query, int line);