Make Firebird the (unconditional) default for new databases

Desktop / LibreOffice - Stephan Bergmann [] - 6 February 2019 14:06 EST

60db3d2cc3bc4f124bd4d819fbd0285e7f19c8c4 "dbu: Set Firebird to default in wizard.." had done so only " case experimental feature is checked in", but Firebird has been made non-experimental meanwhile as documented at .

"Creating new 'HSQLDB Embedded' database immediately brings up migration-to-Firebird dialog" discusses that changing the default to Firebird may be beneficial, so lets do that unconditionally now.

But 60db3d2cc3bc4f124bd4d819fbd0285e7f19c8c4 had apparently made a mistake, setting the value returned from OGeneralPageWizard::getDatasourceName to "sdbc:embedded:firebird" even though the corresponding "Connect to an exisiting database" list in the new database wizard doesn't even support that (instead of "sdbc:firebird:", which matches "Firebird File" in that list). Fixed that now.

(Curiously, ODsnTypeCollection::getEmbeddedDatabase would read a DefaultEmbeddedDatabase value from the configuration before resorting to the hardcoded default, but `git log -SDefaultEmbeddedDatabase` makes it look like there has never been any code to actually write that setting.)

Change-Id: I49b7430f5f8288a6a166ed9184cb438208d56ca1 Reviewed-on:

98c0b20864af Make Firebird the (unconditional) default for new databases
dbaccess/source/core/misc/dsntypes.cxx | 8 +-------
dbaccess/source/ui/dlg/generalpage.cxx | 7 +------
2 files changed, 2 insertions(+), 13 deletions(-)


  • Share