summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-18 21:57:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-18 21:57:04 +0300
commita0a5ee70f1e5021df606a01a212144f4fe955daa (patch)
tree5a2e33c2f6b1481318f11a9c38e0732cb53be802 /plugins/Dbx_sqlite/src/main.cpp
parent007d5cd3398c7e82a5bbfe29131323c7c2ea379b (diff)
fixes #2698 (Add current db format (mdbx, sqlite) to version info report)
Diffstat (limited to 'plugins/Dbx_sqlite/src/main.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Dbx_sqlite/src/main.cpp b/plugins/Dbx_sqlite/src/main.cpp
index 8b2c69cfb6..e3fe8b51d9 100644
--- a/plugins/Dbx_sqlite/src/main.cpp
+++ b/plugins/Dbx_sqlite/src/main.cpp
@@ -37,6 +37,11 @@ static DATABASELINK dblink =
&CDbxSQLite::Load,
};
+STDMETHODIMP_(DATABASELINK *) CDbxSQLite::GetDriver()
+{
+ return &dblink;
+}
+
int CMPlugin::Load()
{
RegisterDatabasePlugin(&dblink);