SpartanCoin Project - Fossil Code Repository

Check-in [42c7c90f5e]
Login
Overview
Comment:fix ambiguous in db.cpp
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | boost-1.66.0
Files: files | file ages | folders
SHA3-256:42c7c90f5e341cd08ece66872f7e0516f2e15616996eb11f77a87c021610ea5e
User & Date: xjail 2018-07-19 00:42:13
Context
2018-07-19
03:14
xjail_spn_util.h xjail_spn_util.cpp check-in: 3bd8d24615 user: xjail tags: boost-1.66.0
00:42
fix ambiguous in db.cpp check-in: 42c7c90f5e user: xjail tags: boost-1.66.0
2018-05-01
23:19
update notes.log check-in: 626bb12543 user: xjail tags: boost-1.66.0
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/db.cpp.

36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
        return;

    fDbEnvInit = false;
    int ret = dbenv.close(0);
    if (ret != 0)
        printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret);
    if (!fMockDb)
        DbEnv(0).remove(path.string().c_str(), 0);
}

CDBEnv::CDBEnv() : dbenv(DB_CXX_NO_EXCEPTIONS)
{
    fDbEnvInit = false;
    fMockDb = false;
}







|







36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
        return;

    fDbEnvInit = false;
    int ret = dbenv.close(0);
    if (ret != 0)
        printf("EnvShutdown exception: %s (%d)\n", DbEnv::strerror(ret), ret);
    if (!fMockDb)
        DbEnv{uint32_t(0)}.remove(path.string().c_str(), 0);
}

CDBEnv::CDBEnv() : dbenv(DB_CXX_NO_EXCEPTIONS)
{
    fDbEnvInit = false;
    fMockDb = false;
}

Changes to src/notes.log.

1
2
3
4
5
6
7
8
Found Bugs (Unsolved):
	Switch mutex, lock and condition_variable from boost to std causes deadlock, as non-interruptible

	Switch from boot::this_thread::sleep_for to std::this_thread::sleep_for causes deadlock, as non-interruptible.

	Upgrade to latest boost causes context asio.ssl error: When spartancoin-qt window or spartancoin daemon is running, "spartancoind stop" will causes that error.

	openssl and libressl build chaos.





|


1
2
3
4
5
6
7
8
Found Bugs (Unsolved):
	Switch mutex, lock and condition_variable from boost to std causes deadlock, as non-interruptible

	Switch from boot::this_thread::sleep_for to std::this_thread::sleep_for causes deadlock, as non-interruptible.

	Upgrade to latest boost causes context asio.ssl error: When spartancoin-qt window or spartancoin daemon is running, "spartancoind stop" will cause that error.

	openssl and libressl build chaos.