mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Log record about ODS upgrade
This commit is contained in:
parent
3faf54812a
commit
6a28470192
@ -1428,6 +1428,13 @@ void INI_upgrade(thread_db* tdbb)
|
||||
;
|
||||
}
|
||||
|
||||
string msg;
|
||||
msg.printf("Database: %s\n\t"
|
||||
"Failed upgrading ODS from version %u.%u to version %u.%u",
|
||||
attachment->att_filename.c_str(),
|
||||
majorVersion, minorVersion, majorVersion, ODS_CURRENT);
|
||||
iscLogException(msg.c_str(), ex);
|
||||
|
||||
if (context)
|
||||
{
|
||||
Arg::StatusVector error(ex);
|
||||
@ -1447,6 +1454,13 @@ void INI_upgrade(thread_db* tdbb)
|
||||
dbb->dbb_minor_version = header->hdr_ods_minor = ODS_CURRENT;
|
||||
CCH_RELEASE(tdbb, &window);
|
||||
|
||||
string msg;
|
||||
msg.printf("Database: %s\n\t"
|
||||
"Successfully upgraded ODS from version %u.%u to version %u.%u",
|
||||
attachment->att_filename.c_str(),
|
||||
majorVersion, minorVersion, majorVersion, ODS_CURRENT);
|
||||
gds__log(msg.c_str());
|
||||
|
||||
// Invalidate new/modified relations in the DSQL metadata cache,
|
||||
// thus forcing them to be reloaded on demand
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user