We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04928a4 commit bc0b679Copy full SHA for bc0b679
src/utilities/ntrace/TraceConfiguration.cpp
@@ -28,6 +28,7 @@
28
#include "TraceConfiguration.h"
29
#include "../../common/SimilarToRegex.h"
30
#include "../../common/isc_f_proto.h"
31
+#include "../../common/db_alias.h"
32
33
using namespace Firebird;
34
@@ -125,9 +126,14 @@ void TraceCfgReader::readConfig()
125
126
{
127
PathName noQuotePattern = pattern.ToPathName();
128
noQuotePattern.alltrim(" '\'");
129
+ PathName expandedName;
130
- if (m_databaseName == noQuotePattern)
131
+ if (m_databaseName == noQuotePattern ||
132
+ expandDatabaseName(noQuotePattern, expandedName, nullptr) &&
133
+ m_databaseName == expandedName)
134
+ {
135
match = exactMatch = true;
136
+ }
137
else
138
139
bool regExpOk = false;
0 commit comments