8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

Fixed CORE-6023: FB4 unable to overwrite older ods database

This commit is contained in:
AlexPeshkoff 2020-12-25 17:10:23 +03:00
parent 090a5c762d
commit c3724f8384

View File

@ -2777,8 +2777,7 @@ JAttachment* JProvider::createDatabase(CheckStatusWrapper* user_status, const ch
ERR_post(Arg::Gds(isc_unavailable));
// Check for correct credentials supplied
mapping.setSecurityDbAlias(config->getSecurityDatabase(), expanded_name.c_str());
mapping.setDb(filename, expanded_name.c_str(), nullptr);
mapping.setSecurityDbAlias(config->getSecurityDatabase(), nullptr);
getUserInfo(userId, options, filename, &config, true, mapping);
#ifdef WIN_NT