File indexing completed on 2025-01-19 03:53:49
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2023-10-21 0007 * Description : Autodetects Mysql upgrade program and version 0008 * 0009 * SPDX-FileCopyrightText: 2016-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #include "mysqlupgradebinary.h" 0016 0017 // KDE includes 0018 0019 #include <klocalizedstring.h> 0020 0021 // Local includes 0022 0023 #include "dbengineparameters.h" 0024 0025 namespace Digikam 0026 { 0027 0028 MysqlUpgradeBinary::MysqlUpgradeBinary() 0029 : DBinaryIface(DbEngineParameters::defaultMysqlUpgradeCmd(), 0030 QLatin1String("MariaDB"), 0031 QLatin1String("https://mariadb.org/download/"), 0032 QString(), 0033 QStringList(QLatin1String("--help")), 0034 i18n("This binary file is used to upgrade the database to current server version.")) 0035 { 0036 setup(); 0037 } 0038 0039 MysqlUpgradeBinary::~MysqlUpgradeBinary() 0040 { 0041 } 0042 0043 } // namespace Digikam 0044 0045 #include "moc_mysqlupgradebinary.cpp"