Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DatabaseAccess configuration parameter for default database location [CORE1643] #2068

Closed
firebird-issue-importer opened this issue Dec 10, 2007 · 15 comments

Comments

@firebird-issue-importer

Submitted by: Igor Lobov (ivl)

Relate to CORE4642

Add configuration parameter for default databases location.
This parameter could defines location of databases without path and without record at aliases.conf

Commits: ec2eb3f

====== Test Details ======

Can't manupulate firebird.conf and host folders during tests run.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 10, 2007

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 11, 2007

Commented by: Smirnoff Serg (wildsery)

Parameter is exist, "DatabaseAccess".
I think that database without path should be treated first as alias, than seek on DatabaseAccess path list, and at last at current dir.
Maybe current dir is excess.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 11, 2007

Commented by: @AlexPeshkoff

Yes, something like this - use DatabaseAccess to locate a database w/o path. Have a look how external tables work now.

But use of current directory to locate database should not be supressed by new feature - legacy applications must work.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 11, 2007

Commented by: @dyemanov

I think only local connections intentionally use filenames w/o path and the path resolution is handled by the Y-valve in this case, so it will have the precedence automatically. As for the standalone server working via the remote subsystem, filenames w/o path are unlikely to be used. On Windows this means %system% as a working directory :-)

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 18, 2007

Modified by: @AlexPeshkoff

priority: Major [ 3 ] => Minor [ 4 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

Workflow: jira [ 13622 ] => Firebird [ 14034 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 22, 2009

Modified by: @AlexPeshkoff

summary: Add configuration parameter for default database location => Use DatabaseAccess configuration parameter for default database location

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 22, 2009

Commented by: @AlexPeshkoff

Same logic that was used for external tables is applied to databases.
1. Database file is searched for in all directories, present in restrict list.
2. If not found - first one is used as default directory. This let's create database succeed, attach certainyl fails (like expected).

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 22, 2009

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC1 [ 10362 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2009

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 16, 2010

Modified by: @AlexPeshkoff

Link: This issue is duplicated by CORE2119 [ CORE2119 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 16, 2010

Modified by: @AlexPeshkoff

Link: This issue is duplicated by CORE2119 [ CORE2119 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 4, 2015

Modified by: @AlexPeshkoff

Link: This issue relate to CORE4642 [ CORE4642 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 22, 2016

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Test Details: Can't manupulate firebird.conf and host folders during tests run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants