mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 08:01:13 +02:00
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:
@@ -158,7 +158,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
//
|
||||
if(!OpenDb(admin_config->mysqlDbname(),admin_config->mysqlUsername(),
|
||||
admin_config->mysqlPassword(),admin_config->mysqlHostname(),
|
||||
admin_config->stationName(),true)) {
|
||||
admin_config->stationName(),true,admin_config)) {
|
||||
exit(1);
|
||||
}
|
||||
new RDDbHeartbeat(admin_config->mysqlHeartbeatInterval());
|
||||
@@ -483,7 +483,7 @@ void MainWidget::restoreData()
|
||||
}
|
||||
delete q;
|
||||
admin_skip_backup=true;
|
||||
UpdateDb(ver);
|
||||
UpdateDb(ver,admin_config);
|
||||
QMessageBox::information(this,tr("Restore Complete"),
|
||||
tr("Restore completed successfully."));
|
||||
RDStartDaemons();
|
||||
@@ -604,7 +604,7 @@ int cmdline_main(int argc,char *argv[])
|
||||
}
|
||||
if(!OpenDb(admin_config->mysqlDbname(),admin_config->mysqlUsername(),
|
||||
admin_config->mysqlPassword(),admin_config->mysqlHostname(),
|
||||
station_name,false)) {
|
||||
station_name,false,admin_config)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user