core: Display problem step if storage setup fails
authorShane Synan <digitalcircuit36939@gmail.com>
Tue, 29 Jan 2019 04:08:30 +0000 (23:08 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Feb 2019 19:41:19 +0000 (20:41 +0100)
commit8426fae7e92dfb7608f66be926c68c304b97cb01
treee4f287cccd0acefcb971c58c904fb21ca5b1ee8d
parentf91f3faa1432894e6d6ecaaf0a1f60a483dd0129
core: Display problem step if storage setup fails

Print the problematic setup step (e.g. 'setup_070_coreinfo') if
storage backend initialization fails.  This may help with debugging.

Modify setupQueries() to return a list of query strings and
resource filenames, used for the above.
src/core/abstractsqlstorage.cpp
src/core/abstractsqlstorage.h