Fix missing SQLite3 statement pointer initialization
This fixes a segfault when the database is shut down before it finishes connecting and setting up.
This commit is contained in:
parent
392ac41c99
commit
3c6e112c28
|
@ -64,7 +64,9 @@ Database_SQLite3::Database_SQLite3(const std::string &savedir) :
|
||||||
m_stmt_read(NULL),
|
m_stmt_read(NULL),
|
||||||
m_stmt_write(NULL),
|
m_stmt_write(NULL),
|
||||||
m_stmt_list(NULL),
|
m_stmt_list(NULL),
|
||||||
m_stmt_delete(NULL)
|
m_stmt_delete(NULL),
|
||||||
|
m_stmt_begin(NULL),
|
||||||
|
m_stmt_end(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue