mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-16 09:31:15 +01:00
2022-12-21 Fred Gleason <fredg@paravelsystems.com>
* Added the database server hostname to the summary output of rddbmgr(8). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -23841,3 +23841,6 @@
|
|||||||
2022-12-21 Fred Gleason <fredg@paravelsystems.com>
|
2022-12-21 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a regression in rdlogedit(1) that caused duplicate line IDs
|
* Fixed a regression in rdlogedit(1) that caused duplicate line IDs
|
||||||
to be used when pasting from the clipboard.
|
to be used when pasting from the clipboard.
|
||||||
|
2022-12-21 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added the database server hostname to the summary output of
|
||||||
|
rddbmgr(8).
|
||||||
|
|||||||
@@ -45,14 +45,16 @@ bool MainObject::PrintStatus(QString *err_msg) const
|
|||||||
"from `SYSTEM`";
|
"from `SYSTEM`";
|
||||||
q=new RDSqlQuery(sql);
|
q=new RDSqlQuery(sql);
|
||||||
if(q->first()) {
|
if(q->first()) {
|
||||||
printf("Rivendell database, schema %d [%s] (%s)\n",schema,
|
printf("Rivendell database, schema %d [%s] (%s @ %s)\n",schema,
|
||||||
GetSchemaVersion(schema).toUtf8().constData(),
|
GetSchemaVersion(schema).toUtf8().constData(),
|
||||||
q->value(0).toString().toUtf8().constData());
|
q->value(0).toString().toUtf8().constData(),
|
||||||
|
db_mysql_hostname.toUtf8().constData());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fprintf(stderr,"rddbmgr: WARNING - unable to read Realm value.\n");
|
fprintf(stderr,"rddbmgr: WARNING - unable to read Realm value.\n");
|
||||||
printf("Rivendell database, schema %d [%s]\n",schema,
|
printf("Rivendell database, schema %d [%s] (@ %s)\n",schema,
|
||||||
GetSchemaVersion(schema).toUtf8().constData());
|
GetSchemaVersion(schema).toUtf8().constData(),
|
||||||
|
db_mysql_hostname.toUtf8().constData());
|
||||||
}
|
}
|
||||||
delete q;
|
delete q;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user