2017-12-01 Fred Gleason <fredg@paravelsystems.com>

* Added an 'Engine=' directive to the [MySQL] section of
	rd.conf(5).
	* Refactored the schema update code to use standard form
	in rdadmin(1).
This commit is contained in:
Fred Gleason
2017-12-01 17:37:37 -05:00
parent cbba0eb10a
commit a8ae9f9bfa
54 changed files with 4210 additions and 4680 deletions

View File

@@ -368,7 +368,7 @@ void MainObject::Save()
Saveas(edit_log->name());
}
else {
edit_log_event->save();
edit_log_event->save(edit_config);
edit_log->setDescription(edit_description);
edit_log->setStartDate(edit_start_date);
edit_log->setEndDate(edit_end_date);
@@ -404,9 +404,9 @@ void MainObject::Saveas(const QString &logname)
"SERVICE=\""+RDEscapeString(edit_service)+"\"";
q=new RDSqlQuery(sql);
delete q;
RDCreateLogTable(RDLog::tableName(logname));
RDCreateLogTable(RDLog::tableName(logname),edit_config);
edit_log_event->setLogName(RDLog::tableName(logname));
edit_log_event->save();
edit_log_event->save(edit_config);
delete edit_log;
edit_log=log;
edit_modified=false;