mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-09 14:33:28 +02:00
2019-09-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused a segfault when processing a SQL error.
This commit is contained in:
parent
cd80ab3004
commit
cc3dc06b4a
@ -19119,3 +19119,6 @@
|
||||
* Incremented the package version to 3.0.3int3.
|
||||
2019-09-19 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to 3.1.0.
|
||||
2019-09-25 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rddbmgr(8) that caused a segfault when processing
|
||||
a SQL error.
|
||||
|
@ -59,7 +59,9 @@ RDSqlQuery::RDSqlQuery (const QString &query,bool reconnect):
|
||||
}
|
||||
|
||||
fprintf(stderr,"%s\n",(const char *)err);
|
||||
rda->syslog(LOG_ERR,(const char *)err);
|
||||
if(rda!=NULL) {
|
||||
rda->syslog(LOG_ERR,(const char *)err);
|
||||
}
|
||||
}
|
||||
|
||||
if(isActive()) {
|
||||
@ -84,7 +86,9 @@ RDSqlQuery::RDSqlQuery (const QString &query,bool reconnect):
|
||||
+"["+lastError().text()+"]: "+query;
|
||||
|
||||
fprintf(stderr,"%s\n",(const char *)err);
|
||||
rda->syslog(LOG_ERR,(const char *)err);
|
||||
if(rda!=NULL) {
|
||||
rda->syslog(LOG_ERR,(const char *)err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user