From a0a5ee70f1e5021df606a01a212144f4fe955daa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 18 Jan 2021 21:57:04 +0300 Subject: fixes #2698 (Add current db format (mdbx, sqlite) to version info report) --- plugins/CrashDumper/src/dumper.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/CrashDumper/src') diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp index 99f4c801cb..fb1157d465 100644 --- a/plugins/CrashDumper/src/dumper.cpp +++ b/plugins/CrashDumper/src/dumper.cpp @@ -424,6 +424,11 @@ void PrintVersionInfo(CMStringW& buffer, unsigned flags) mir_snwprintf(profpn, L"%s\\%s", profpathfull, profname); buffer.AppendFormat(L"Profile: %s\r\n", profpn); + auto *pDb = db_get_current(); + if (pDb) + if (auto *dbLink = pDb->GetDriver()) + buffer.AppendFormat(L"Database driver: %s\r\n", dbLink ->szFullName); + if (flags & VI_FLAG_PRNVAR) { WIN32_FIND_DATA FindFileData; HANDLE hFind = FindFirstFile(profpn, &FindFileData); -- cgit v1.2.3