core: Display problem step if storage setup fails
authorShane Synan <digitalcircuit36939@gmail.com>
Tue, 29 Jan 2019 05:06:58 +0000 (00:06 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Feb 2019 19:41:34 +0000 (20:41 +0100)
commitc3263d1f2db00c39c2057b4126f9a1599d7f9570
treee3470c1a0d08ea1ed9df1cb56ed8bcf7d8cbcdcc
parentdd8c9291dd3308e7307a40ccb2a5d123e09b0915
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