tdf#119610 tdf#112634: Don't show broken connections - RevB
commit647c9de0338350c1b5eff4b9adf08bd06930e36b
authorJustin Luth <justin.luth@collabora.com>
Wed, 13 Jan 2021 18:27:56 +0000 (13 21:27 +0300)
committerJustin Luth <justin_luth@sil.org>
Sat, 16 Jan 2021 07:37:39 +0000 (16 08:37 +0100)
treedca9e546f38479de8c45c775402f7b43af5e7d05
parentf7c8fa9591f434c28dfe9c1fc114c4763c2217ca
tdf#119610 tdf#112634: Don't show broken connections - RevB

This changes LO 6.0 commit 75a881829f19439245cdb859fc16d59461992f79
to use a light-weight check to see if a database exists.

The previous way made a connection, which is extremely
expensive if there is a password, or if network traffic
needs to timeout, etc. And if there are multiple
registered databases like that...

Change-Id: I980cb6979cfc7cae8f1251f3459718192459aaee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109242
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
sw/source/uibase/dbui/dbtree.cxx