https://cirrus-ci.com/task/5603470202896384?logs=ci#L2681
return spk_man;
}
bool CWalletMigrateToSQLite(bilingual_str& error)
{
    AssertLockHeld(cs_);
    WalletLogPrintf("Migrating  storage database from BerkeleyDB to SQLite.\n");
    if (m_database->Format() == "sqlite") {
        error = _("Error This  already uses SQLite");
        return false;
    }
    // Get all of the records for DB type migration
    stdunique_ptr<DatabaseBatch> batch = m_database->MakeBatch();
    stdvector<stdpair<SerializeData, SerializeData>> records;
    if (!batch->StartCursor()) {
        error = _("Error Unable to begin reading all records in the database");
        return false;
    }
    bool complete = false;
    while (true) {
        CDataStream ss_key(SER_DISK, CLIENT_VERSION);
        CDataStream ss_value(SER_DISK, CLIENT_VERSION);
        bool ret = batch->ReadAtCursor(ss_key, ss_value, complete);
        if (!ret) {
            break;
        }
        SerializeData key(ss_key.begin(), ss_key.end());
        SerializeData value(ss_value.begin(), ss_value.end());
        records.emplace_back(key, val
    }
    batch->CloseCursor();