ports/databases/firebird21-server/files/patch-src%jrd%db_alias.cpp
Jose Alonso Cardenas Marquez 0ec9572a95 - New port: databases/firebird21-server
Firebird is a relational database offering many ANSI SQL-99 features
that runs on Linux, Windows, and a variety of Unix platforms.  Firebird
offers excellent concurrency, high performance, and powerful language
support for stored procedures and triggers.  It has been used in
production systems, under a variety of names since 1981.

Firebird is completely free of any registration, licensing or deployment
fees.  It may be deployed freely for use with any third-party software,
whether commercial or not.

WWW: http://sourceforge.net/projects/firebird/
WWW: http://www.firebirdsql.org/

PR:		152402
Submitted by:	Max Kochubey <root at hangover.org.ru>
2010-12-20 09:05:05 +00:00

13 lines
438 B
C++

--- src/jrd/db_alias.cpp.orig Tue Aug 15 23:07:31 2006
+++ src/jrd/db_alias.cpp Tue Aug 15 23:10:08 2006
@@ -33,8 +33,8 @@
bool ResolveDatabaseAlias(const string& alias, string& database)
{
- string alias_filename;
- Firebird::Prefix(alias_filename, ALIAS_FILE);
+ string alias_filename = string(FB_CONF_PREFIX)
+ + PathUtils::dir_sep + ALIAS_FILE;
ConfigFile aliasConfig(false);
aliasConfig.setConfigFilePath(alias_filename);